Skip to content
PantoneTools
purple
Tailwind CSS palette

Violet 500

violet-500 · #8B5CF6

HEX

#8B5CF6

RGB

rgb(139, 92, 246)

CMYK

cmyk(43%, 63%, 0%, 4%)

HSL

hsl(258, 90%, 66%)

LAB

lab(51.6, 53.2, -70.7)

What is Violet 500?

Violet 500 is the violet-500 reference in the Tailwind CSS palette. Its sRGB value is #8B5CF6 (rgb 139, 92, 246). It sits in the purple family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Violet 500 as a background.

Black text on this color

Sample text · 4.96 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 4.23 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Violet 500

An 11-step tonal scale derived from Violet 500 (#8B5CF6). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F6F2FE

50

#F6F2FE

#F6F2FE

Copied #ECE5FE

100

#ECE5FE

#ECE5FE

Copied #DACBFC

200

#DACBFC

#DACBFC

Copied #C5AEFB

300

#C5AEFB

#C5AEFB

Copied #A885F8

400

#A885F8

#A885F8

Copied #8B5CF6

500

#8B5CF6

#8B5CF6

Copied #764ED1

600

#764ED1

#764ED1

Copied #5A3CA0

700

#5A3CA0

#5A3CA0

Copied #3F296F

800

#3F296F

#3F296F

Copied #23173E

900

#23173E

#23173E

Copied #110B1E

950

#110B1E

#110B1E

Lighter tints (mixed with white)

Copied #A487F7

15%

#A487F7

Copied #B8A5F9

30%

#B8A5F9

Copied #CABDFA

45%

#CABDFA

Copied #DAD2FB

60%

#DAD2FB

Copied #E9E4FD

75%

#E9E4FD

Darker shades (mixed with black)

Copied #8155E5

15%

#8155E5

Copied #764DD2

30%

#764DD2

Copied #6945BD

45%

#6945BD

Copied #5A3AA3

60%

#5A3AA3

Copied #482D84

75%

#482D84

Color harmonies for Violet 500

Classic color-theory harmonies derived from rotating the hue of Violet 500. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #8B5CF6

#8B5CF6

#8B5CF6

Copied #C8F65A

#C8F65A

#C8F65A

Triadic

Three colors 120° apart

Copied #8B5CF6

#8B5CF6

#8B5CF6

Copied #F6895A

#F6895A

#F6895A

Copied #5AF689

#5AF689

#5AF689

Analogous

Two neighbors ±30° on the wheel

Copied #5A79F6

#5A79F6

#5A79F6

Copied #8B5CF6

#8B5CF6

#8B5CF6

Copied #D75AF6

#D75AF6

#D75AF6

Split-complementary

Base + two colors flanking its complement

Copied #8B5CF6

#8B5CF6

#8B5CF6

Copied #F6D75A

#F6D75A

#F6D75A

Copied #79F65A

#79F65A

#79F65A

Tetradic

Two complementary pairs

Copied #8B5CF6

#8B5CF6

#8B5CF6

Copied #F65AC8

#F65AC8

#F65AC8

Copied #C8F65A

#C8F65A

#C8F65A

Copied #5AF689

#5AF689

#5AF689

Square

Four colors evenly spaced 90° apart

Copied #8B5CF6

#8B5CF6

#8B5CF6

Copied #F65A79

#F65A79

#F65A79

Copied #C8F65A

#C8F65A

#C8F65A

Copied #5AF6D7

#5AF6D7

#5AF6D7

Violet 500 in every color space

Full conversion of Violet 500 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#8B5CF6

RGB

rgb(139, 92, 246)

CMYK

cmyk(43%, 63%, 0%, 4%)

HSL

hsl(258, 90%, 66%)

HSV

hsv(258, 63%, 96%)

HWB

hwb(258 36% 4%)

CIE Lab

lab(51.6 53.2 -70.7)

OKLCH

oklch(60.6% 0.219 292.7)

XYZ (D65)

xyz(31.10, 19.80, 89.35)

Copy-ready code for Violet 500

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #8B5CF6;
background-color: #8B5CF6;

CSS variable

:root {
  --color-violet-500: #8B5CF6;
}

Tailwind config

// tailwind.config.js
colors: {
  'violet-500': '#8B5CF6',
}

Sass

$color-violet-500: #8B5CF6;

Swift UIColor

UIColor(red: 0.545, green: 0.361, blue: 0.965, alpha: 1.0)

Android XML

<color name="violet-500">#8B5CF6</color>

Closest match in every color system

The nearest Violet 500 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in Tailwind CSS palette

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #7E8B92

RAL 7000

#7E8B92

Squirrel grey

Copied #606E8C

RAL 5014

#606E8C

Pigeon blue

Copied #49678D

RAL 5023

#49678D

Distant blue

Copied #8F999F

RAL 7001

#8F999F

Silver grey

Copied #3E5F8A

RAL 5007

#3E5F8A

Brilliant blue

Copied #3B83BD

RAL 5012

#3B83BD

Light blue

FAQ about Violet 500

What is the HEX code for Violet 500?

Violet 500 (violet-500) has the HEX code #8B5CF6. In RGB it is rgb(139, 92, 246), and in CMYK it is cmyk(43%, 63%, 0%, 4%).

What is the OKLCH value of Violet 500?

Violet 500 converts to oklch(0.606 0.219 292.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Violet 500 accessible for body text?

Used as a background, Violet 500 has a contrast ratio of 4.96:1 with black text and 4.23:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Violet 500?

The closest Pantone reference to Violet 500 by ΔE2000 perceptual distance is Pantone 814 C (#9A66BF). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Violet 500?

The closest RAL Classic reference to Violet 500 by ΔE2000 distance is RAL 7000 (Squirrel grey, #7E8B92). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Violet 500?

The complementary color (180° opposite on the HSL color wheel) of Violet 500 is #C8F65A. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

Tailwind CSS default palette (v3)

The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.

Source type
derived
Confidence
high
License
MIT
Last reviewed
2026-05-24

Workflow tags

tailwind
design-token
web-system
purple

Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.

Tailwind CSS palette · Violet 500 — #8B5CF6 | PantoneTools