#8E30D3#8E30D3
#8E30D3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.1% C 0.233 H 305.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8E30D3 |
|---|---|
| RGB | rgb(142, 48, 211) |
| HSL | hsl(275, 65%, 51%) |
| HSV | hsv(275, 77%, 83%) |
| CMYK | cmyk(32.7%, 77.3%, 0%, 17.3%) |
| CIE-LAB | lab(42.10, 65.43, -66.28) |
| CIE-LCH | lch(42.10, 93.14, 314.63°) |
| OKLab | oklab(53.06% 0.1363 -0.1887) |
| OKLCH | oklch(53.06% 0.233 305.8) |
| XYZ | xyz(23.9675, 12.5680, 62.7786) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.19
Darkorchid
#9932CC
ΔE00 2.48
Violet (survey)
#9A0EEA
ΔE00 3.43
Darkviolet
#9400D3
ΔE00 3.52
Vivid Purple
#9900FA
ΔE00 4.91
Vibrant Purple
#AD03DE
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E30D3 #75D330
analogous
#3C30D3 #8E30D3 #D330C7
triadic
#8E30D3 #D38E30 #30D38E
tetradic
#8E30D3 #D33C30 #75D330 #30C7D3
square
#8E30D3 #D33C30 #75D330 #30C7D3
split-complementary
#8E30D3 #C7D330 #30D33C
monochromatic
#4B1871 #6D23A3 #8E30D3 #AA62DE #C595E8
Accessibility & contrast
On white
5.98
#8E30D3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8E30D3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E30D3
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E30D3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E30D3 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#815A81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8e30d3; /* rgb */ color: rgb(142, 48, 211); /* oklch */ color: oklch(53.1% 0.233 305.8);
Tailwind
colors: {
custom: {
50: '#b573e2',
500: '#8e30d3',
950: '#000000',
},
}SCSS
$custom: #8e30d3; $custom-light: #b573e2; $custom-dark: #000000;
JSON
{
"hex": "#8e30d3",
"rgb": {
"r": 142,
"g": 48,
"b": 211
},
"hsl": {
"h": 274.601,
"s": 64.94,
"l": 50.784
},
"oklch": {
"l": 0.53058,
"c": 0.23275,
"h": 305.8
},
"luminance": 0.12568
}Semantic roles & 50–950 ramp
primary
#8E30D3
secondary
#AAD48B
accent
#E84087
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83