#8C33E2#8C33E2
#8C33E2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.3% C 0.244 H 301.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8C33E2 |
|---|---|
| RGB | rgb(140, 51, 226) |
| HSL | hsl(271, 75%, 54%) |
| HSV | hsv(271, 77%, 89%) |
| CMYK | cmyk(38.1%, 77.4%, 0%, 11.4%) |
| CIE-LAB | lab(43.41, 67.34, -72.75) |
| CIE-LCH | lch(43.41, 99.14, 312.79°) |
| OKLab | oklab(54.28% 0.1274 -0.2078) |
| OKLCH | oklch(54.28% 0.244 301.5) |
| XYZ | xyz(25.7232, 13.4339, 73.1746) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 1.27
Violet (survey)
#9A0EEA
ΔE00 3.07
Vivid Purple
#9900FA
ΔE00 3.71
Violet
#8F00FF
ΔE00 4.05
Darkorchid
#9932CC
ΔE00 4.06
Bluish Purple
#703BE7
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C33E2 #89E233
analogous
#3533E2 #8C33E2 #E233E1
triadic
#8C33E2 #E28C33 #33E28C
tetradic
#8C33E2 #E23533 #89E233 #33E1E2
square
#8C33E2 #E23533 #89E233 #33E1E2
split-complementary
#8C33E2 #E1E233 #33E235
monochromatic
#4E1387 #6D1BBD #8C33E2 #AA69EA #C89EF1
Accessibility & contrast
On white
5.70
#8C33E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8C33E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C33E2
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C33E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C33E2 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#79628A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8c33e2; /* rgb */ color: rgb(140, 51, 226); /* oklch */ color: oklch(54.3% 0.244 301.5);
Tailwind
colors: {
custom: {
50: '#b575ec',
500: '#8c33e2',
950: '#000000',
},
}SCSS
$custom: #8c33e2; $custom-light: #b575ec; $custom-dark: #000000;
JSON
{
"hex": "#8c33e2",
"rgb": {
"r": 140,
"g": 51,
"b": 226
},
"hsl": {
"h": 270.514,
"s": 75.107,
"l": 54.314
},
"oklch": {
"l": 0.54282,
"c": 0.24374,
"h": 301.5
},
"luminance": 0.13434
}Semantic roles & 50–950 ramp
primary
#8C33E2
secondary
#B8DE93
accent
#F23692
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84