#9E30CF#9E30CF
#9E30CF is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.233 H 312.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9E30CF |
|---|---|
| RGB | rgb(158, 48, 207) |
| HSL | hsl(282, 62%, 50%) |
| HSV | hsv(282, 77%, 81%) |
| CMYK | cmyk(23.7%, 76.8%, 0%, 18.8%) |
| CIE-LAB | lab(44.07, 67.37, -60.67) |
| CIE-LCH | lch(44.07, 90.66, 317.99°) |
| OKLab | oklab(54.81% 0.1582 -0.1717) |
| OKLCH | oklch(54.81% 0.233 312.7) |
| XYZ | xyz(26.4179, 13.8888, 60.3086) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.88
Vibrant Purple
#AD03DE
ΔE00 3.11
Violet (survey)
#9A0EEA
ΔE00 4.37
Purply
#983FB2
ΔE00 4.75
Blueviolet
#8A2BE2
ΔE00 4.76
Darkviolet
#9400D3
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E30CF #61CF30
analogous
#4E30CF #9E30CF #CF30B1
triadic
#9E30CF #CF9E30 #30CF9E
tetradic
#9E30CF #CF4E30 #61CF30 #30B1CF
square
#9E30CF #CF4E30 #61CF30 #30B1CF
split-complementary
#9E30CF #B1CF30 #30CF4E
monochromatic
#52196C #78249D #9E30CF #B562DB #CD93E6
Accessibility & contrast
On white
5.56
#9E30CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#9E30CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E30CF
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E30CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E30CF | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#176ACC
Tritanopia (blue-blind)
#98567F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9e30cf; /* rgb */ color: rgb(158, 48, 207); /* oklch */ color: oklch(54.8% 0.233 312.7);
Tailwind
colors: {
custom: {
50: '#c075df',
500: '#9e30cf',
950: '#000000',
},
}SCSS
$custom: #9e30cf; $custom-light: #c075df; $custom-dark: #000000;
JSON
{
"hex": "#9e30cf",
"rgb": {
"r": 158,
"g": 48,
"b": 207
},
"hsl": {
"h": 281.509,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.54814,
"c": 0.23342,
"h": 312.7
},
"luminance": 0.13888
}Semantic roles & 50–950 ramp
primary
#9E30CF
secondary
#A0D18A
accent
#E54275
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83