#8A30C9#8A30C9
#8A30C9 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.8% C 0.222 H 306.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A30C9 |
|---|---|
| RGB | rgb(138, 48, 201) |
| HSL | hsl(275, 61%, 49%) |
| HSV | hsv(275, 76%, 79%) |
| CMYK | cmyk(31.3%, 76.1%, 0%, 21.2%) |
| CIE-LAB | lab(40.79, 62.57, -62.66) |
| CIE-LCH | lch(40.79, 88.55, 314.96°) |
| OKLab | oklab(51.78% 0.1331 -0.1782) |
| OKLCH | oklch(51.78% 0.222 306.8) |
| XYZ | xyz(22.0785, 11.7345, 56.3489) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.88
Blueviolet
#8A2BE2
ΔE00 3.34
Darkviolet
#9400D3
ΔE00 3.42
Violet (survey)
#9A0EEA
ΔE00 4.62
Vibrant Purple
#AD03DE
ΔE00 5.80
Purply
#983FB2
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A30C9 #6FC930
analogous
#3E30C9 #8A30C9 #C930BC
triadic
#8A30C9 #C98A30 #30C98A
tetradic
#8A30C9 #C93E30 #6FC930 #30BCC9
square
#8A30C9 #C93E30 #6FC930 #30BCC9
split-complementary
#8A30C9 #BCC930 #30C93E
monochromatic
#461866 #682498 #8A30C9 #A65ED8 #C18FE4
Accessibility & contrast
On white
6.27
#8A30C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#8A30C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A30C9
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A30C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A30C9 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#7F567B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a30c9; /* rgb */ color: rgb(138, 48, 201); /* oklch */ color: oklch(51.8% 0.222 306.8);
Tailwind
colors: {
custom: {
50: '#b272da',
500: '#8a30c9',
950: '#000000',
},
}SCSS
$custom: #8a30c9; $custom-light: #b272da; $custom-dark: #000000;
JSON
{
"hex": "#8a30c9",
"rgb": {
"r": 138,
"g": 48,
"b": 201
},
"hsl": {
"h": 275.294,
"s": 61.446,
"l": 48.824
},
"oklch": {
"l": 0.51781,
"c": 0.22241,
"h": 306.8
},
"luminance": 0.11734
}Semantic roles & 50–950 ramp
primary
#8A30C9
secondary
#A4CF86
accent
#E54386
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83