#8A33C6#8A33C6
#8A33C6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.216 H 307.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33C6 |
|---|---|
| RGB | rgb(138, 51, 198) |
| HSL | hsl(276, 59%, 49%) |
| HSV | hsv(276, 74%, 78%) |
| CMYK | cmyk(30.3%, 74.2%, 0%, 22.4%) |
| CIE-LAB | lab(40.97, 60.75, -60.61) |
| CIE-LCH | lch(40.97, 85.81, 315.06°) |
| OKLab | oklab(51.84% 0.1311 -0.1722) |
| OKLCH | oklch(51.84% 0.216 307.3) |
| XYZ | xyz(21.8559, 11.8484, 54.5507) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.74
Blueviolet
#8A2BE2
ΔE00 3.79
Darkviolet
#9400D3
ΔE00 3.89
Violet (survey)
#9A0EEA
ΔE00 5.06
Purply
#983FB2
ΔE00 5.49
Vibrant Purple
#AD03DE
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33C6 #6FC633
analogous
#4133C6 #8A33C6 #C633B9
triadic
#8A33C6 #C68A33 #33C68A
tetradic
#8A33C6 #C64133 #6FC633 #33B9C6
square
#8A33C6 #C64133 #6FC633 #33B9C6
split-complementary
#8A33C6 #B9C633 #33C641
monochromatic
#461A65 #682695 #8A33C6 #A660D6 #C191E3
Accessibility & contrast
On white
6.23
#8A33C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8A33C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33C6
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33C6 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#80577A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a33c6; /* rgb */ color: rgb(138, 51, 198); /* oklch */ color: oklch(51.8% 0.216 307.3);
Tailwind
colors: {
custom: {
50: '#b173d8',
500: '#8a33c6',
950: '#000000',
},
}SCSS
$custom: #8a33c6; $custom-light: #b173d8; $custom-dark: #000000;
JSON
{
"hex": "#8a33c6",
"rgb": {
"r": 138,
"g": 51,
"b": 198
},
"hsl": {
"h": 275.51,
"s": 59.036,
"l": 48.824
},
"oklch": {
"l": 0.5184,
"c": 0.2164,
"h": 307.3
},
"luminance": 0.11848
}Semantic roles & 50–950 ramp
primary
#8A33C6
secondary
#A4CD87
accent
#E24686
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83