#8A33C2#8A33C2
#8A33C2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.213 H 308.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33C2 |
|---|---|
| RGB | rgb(138, 51, 194) |
| HSL | hsl(277, 58%, 48%) |
| HSV | hsv(277, 74%, 76%) |
| CMYK | cmyk(28.9%, 73.7%, 0%, 23.9%) |
| CIE-LAB | lab(40.68, 59.87, -58.76) |
| CIE-LCH | lch(40.68, 83.89, 315.54°) |
| OKLab | oklab(51.54% 0.1318 -0.1667) |
| OKLCH | oklch(51.54% 0.213 308.3) |
| XYZ | xyz(21.4006, 11.6663, 52.1529) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.88
Darkviolet
#9400D3
ΔE00 4.06
Blueviolet
#8A2BE2
ΔE00 4.37
Purply
#983FB2
ΔE00 5.13
Violet (survey)
#9A0EEA
ΔE00 5.53
Vibrant Purple
#AD03DE
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33C2 #6BC233
analogous
#4233C2 #8A33C2 #C233B3
triadic
#8A33C2 #C28A33 #33C28A
tetradic
#8A33C2 #C24233 #6BC233 #33B3C2
square
#8A33C2 #C24233 #6BC233 #33B3C2
split-complementary
#8A33C2 #B3C233 #33C242
monochromatic
#451A61 #682692 #8A33C2 #A65ED5 #C18EE1
Accessibility & contrast
On white
6.30
#8A33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#8A33C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33C2
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33C2 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#815578
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a33c2; /* rgb */ color: rgb(138, 51, 194); /* oklch */ color: oklch(51.5% 0.213 308.3);
Tailwind
colors: {
custom: {
50: '#b173d5',
500: '#8a33c2',
950: '#000000',
},
}SCSS
$custom: #8a33c2; $custom-light: #b173d5; $custom-dark: #000000;
JSON
{
"hex": "#8a33c2",
"rgb": {
"r": 138,
"g": 51,
"b": 194
},
"hsl": {
"h": 276.503,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.51541,
"c": 0.21253,
"h": 308.3
},
"luminance": 0.11666
}Semantic roles & 50–950 ramp
primary
#8A33C2
secondary
#A1CC85
accent
#E24683
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83