Skip to content
PantoneTools
purple
Tailwind CSS palette

Violet 800

violet-800 · #5B21B6

HEX

#5B21B6

RGB

rgb(91, 33, 182)

CMYK

cmyk(50%, 82%, 0%, 29%)

HSL

hsl(263, 69%, 42%)

LAB

lab(31.1, 56.6, -67.6)

What is Violet 800?

Violet 800 is the violet-800 reference in the Tailwind CSS palette. Its sRGB value is #5B21B6 (rgb 91, 33, 182). 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 800 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Violet 800

An 11-step tonal scale derived from Violet 800 (#5B21B6). 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 #F2EDF9

50

#F2EDF9

#F2EDF9

Copied #E5DBF3

100

#E5DBF3

#E5DBF3

Copied #CBB8E8

200

#CBB8E8

#CBB8E8

Copied #AD90DB

300

#AD90DB

#AD90DB

Copied #8459C8

400

#8459C8

#8459C8

Copied #5B21B6

500

#5B21B6

#5B21B6

Copied #4D1C9B

600

#4D1C9B

#4D1C9B

Copied #3B1576

700

#3B1576

#3B1576

Copied #290F52

800

#290F52

#290F52

Copied #17082E

900

#17082E

#17082E

Copied #0B0416

950

#0B0416

#0B0416

Lighter tints (mixed with white)

Copied #8670C3

15%

#8670C3

Copied #A497D0

30%

#A497D0

Copied #BDB4DB

45%

#BDB4DB

Copied #D2CCE5

60%

#D2CCE5

Copied #E4E1EF

75%

#E4E1EF

Darker shades (mixed with black)

Copied #541EA9

15%

#541EA9

Copied #4C1B9B

30%

#4C1B9B

Copied #44178B

45%

#44178B

Copied #3A1278

60%

#3A1278

Copied #2D0C60

75%

#2D0C60

Color harmonies for Violet 800

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

Complementary

180° opposite — strongest contrast

Copied #5B21B6

#5B21B6

#5B21B6

Copied #7CB521

#7CB521

#7CB521

Triadic

Three colors 120° apart

Copied #5B21B6

#5B21B6

#5B21B6

Copied #B55A21

#B55A21

#B55A21

Copied #21B55A

#21B55A

#21B55A

Analogous

Two neighbors ±30° on the wheel

Copied #2132B5

#2132B5

#2132B5

Copied #5B21B6

#5B21B6

#5B21B6

Copied #A421B5

#A421B5

#A421B5

Split-complementary

Base + two colors flanking its complement

Copied #5B21B6

#5B21B6

#5B21B6

Copied #B5A421

#B5A421

#B5A421

Copied #32B521

#32B521

#32B521

Tetradic

Two complementary pairs

Copied #5B21B6

#5B21B6

#5B21B6

Copied #B5217C

#B5217C

#B5217C

Copied #7CB521

#7CB521

#7CB521

Copied #21B55A

#21B55A

#21B55A

Square

Four colors evenly spaced 90° apart

Copied #5B21B6

#5B21B6

#5B21B6

Copied #B52132

#B52132

#B52132

Copied #7CB521

#7CB521

#7CB521

Copied #21B5A4

#21B5A4

#21B5A4

Violet 800 in every color space

Full conversion of Violet 800 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

#5B21B6

RGB

rgb(91, 33, 182)

CMYK

cmyk(50%, 82%, 0%, 29%)

HSL

hsl(263, 69%, 42%)

HSV

hsv(263, 82%, 71%)

HWB

hwb(263 13% 29%)

CIE Lab

lab(31.1 56.6 -67.6)

OKLCH

oklch(43.2% 0.211 292.8)

XYZ (D65)

xyz(13.30, 6.69, 44.84)

Copy-ready code for Violet 800

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: #5B21B6;
background-color: #5B21B6;

CSS variable

:root {
  --color-violet-800: #5B21B6;
}

Tailwind config

// tailwind.config.js
colors: {
  'violet-800': '#5B21B6',
}

Sass

$color-violet-800: #5B21B6;

Swift UIColor

UIColor(red: 0.357, green: 0.129, blue: 0.714, alpha: 1.0)

Android XML

<color name="violet-800">#5B21B6</color>

Closest match in every color system

The nearest Violet 800 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 #1E2460

RAL 5005

#1E2460

Signal blue

Copied #6C4675

RAL 4005

#6C4675

Blue lilac

Copied #354D73

RAL 5000

#354D73

Violet blue

Copied #1D334A

RAL 5020

#1D334A

Ocean blue

Copied #434B4D

RAL 7011

#434B4D

Iron grey

Copied #063971

RAL 5017

#063971

Traffic blue

FAQ about Violet 800

What is the HEX code for Violet 800?

Violet 800 (violet-800) has the HEX code #5B21B6. In RGB it is rgb(91, 33, 182), and in CMYK it is cmyk(50%, 82%, 0%, 29%).

What is the OKLCH value of Violet 800?

Violet 800 converts to oklch(0.432 0.211 292.8). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Violet 800 accessible for body text?

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

What is the closest Pantone to Violet 800?

The closest Pantone reference to Violet 800 by ΔE2000 perceptual distance is Pantone 267 C (#5F249F). 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 800?

The closest RAL Classic reference to Violet 800 by ΔE2000 distance is RAL 5005 (Signal blue, #1E2460). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Violet 800?

The complementary color (180° opposite on the HSL color wheel) of Violet 800 is #7CB521. 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 800 — #5B21B6 | PantoneTools