#9A30C3#9A30C3
#9A30C3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.222 H 314.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9A30C3 |
|---|---|
| RGB | rgb(154, 48, 195) |
| HSL | hsl(283, 60%, 48%) |
| HSV | hsv(283, 75%, 76%) |
| CMYK | cmyk(21%, 75.4%, 0%, 23.5%) |
| CIE-LAB | lab(42.65, 64.24, -56.05) |
| CIE-LCH | lch(42.65, 85.25, 318.90°) |
| OKLab | oklab(53.43% 0.1551 -0.1582) |
| OKLCH | oklch(53.43% 0.222 314.4) |
| XYZ | xyz(24.2320, 12.9249, 52.8375) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.47
Purply
#983FB2
ΔE00 3.54
Barney
#AC1DB8
ΔE00 4.10
Vibrant Purple
#AD03DE
ΔE00 4.33
Darkviolet
#9400D3
ΔE00 4.65
Violet (survey)
#9A0EEA
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A30C3 #59C330
analogous
#5030C3 #9A30C3 #C330A3
triadic
#9A30C3 #C39A30 #30C39A
tetradic
#9A30C3 #C35030 #59C330 #30A3C3
square
#9A30C3 #C35030 #59C330 #30A3C3
split-complementary
#9A30C3 #A3C330 #30C350
monochromatic
#4C1861 #732492 #9A30C3 #B45AD6 #CA8BE2
Accessibility & contrast
On white
5.86
#9A30C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#9A30C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A30C3
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A30C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A30C3 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2667C0
Tritanopia (blue-blind)
#965178
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9a30c3; /* rgb */ color: rgb(154, 48, 195); /* oklch */ color: oklch(53.4% 0.222 314.4);
Tailwind
colors: {
custom: {
50: '#bc74d6',
500: '#9a30c3',
950: '#000000',
},
}SCSS
$custom: #9a30c3; $custom-light: #bc74d6; $custom-dark: #000000;
JSON
{
"hex": "#9a30c3",
"rgb": {
"r": 154,
"g": 48,
"b": 195
},
"hsl": {
"h": 283.265,
"s": 60.494,
"l": 47.647
},
"oklch": {
"l": 0.53428,
"c": 0.22157,
"h": 314.4
},
"luminance": 0.12924
}Semantic roles & 50–950 ramp
primary
#9A30C3
secondary
#97CC82
accent
#E44471
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83