#9A30C2#9A30C2
#9A30C2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.221 H 314.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9A30C2 |
|---|---|
| RGB | rgb(154, 48, 194) |
| HSL | hsl(284, 60%, 47%) |
| HSV | hsv(284, 75%, 76%) |
| CMYK | cmyk(20.6%, 75.3%, 0%, 23.9%) |
| CIE-LAB | lab(42.58, 64.05, -55.57) |
| CIE-LCH | lch(42.58, 84.79, 319.05°) |
| OKLab | oklab(53.36% 0.1553 -0.1568) |
| OKLCH | oklch(53.36% 0.221 314.7) |
| XYZ | xyz(24.1194, 12.8798, 52.2440) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.63
Purply
#983FB2
ΔE00 3.44
Barney
#AC1DB8
ΔE00 4.01
Vibrant Purple
#AD03DE
ΔE00 4.43
Darkviolet
#9400D3
ΔE00 4.72
Violet (survey)
#9A0EEA
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A30C2 #58C230
analogous
#5130C2 #9A30C2 #C230A1
triadic
#9A30C2 #C29A30 #30C29A
tetradic
#9A30C2 #C25130 #58C230 #30A1C2
square
#9A30C2 #C25130 #58C230 #30A1C2
split-complementary
#9A30C2 #A1C230 #30C251
monochromatic
#4C1860 #732491 #9A30C2 #B459D6 #CA8AE2
Accessibility & contrast
On white
5.87
#9A30C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#9A30C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A30C2
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A30C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A30C2 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2867BF
Tritanopia (blue-blind)
#965177
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9a30c2; /* rgb */ color: rgb(154, 48, 194); /* oklch */ color: oklch(53.4% 0.221 314.7);
Tailwind
colors: {
custom: {
50: '#bc74d5',
500: '#9a30c2',
950: '#000000',
},
}SCSS
$custom: #9a30c2; $custom-light: #bc74d5; $custom-dark: #000000;
JSON
{
"hex": "#9a30c2",
"rgb": {
"r": 154,
"g": 48,
"b": 194
},
"hsl": {
"h": 283.562,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.53358,
"c": 0.22068,
"h": 314.7
},
"luminance": 0.12879
}Semantic roles & 50–950 ramp
primary
#9A30C2
secondary
#96CC82
accent
#E34470
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83