#9F30CF#9F30CF
#9F30CF is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.234 H 313.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9F30CF |
|---|---|
| RGB | rgb(159, 48, 207) |
| HSL | hsl(282, 62%, 50%) |
| HSV | hsv(282, 77%, 81%) |
| CMYK | cmyk(23.2%, 76.8%, 0%, 18.8%) |
| CIE-LAB | lab(44.22, 67.55, -60.43) |
| CIE-LCH | lch(44.22, 90.64, 318.18°) |
| OKLab | oklab(54.95% 0.1594 -0.1709) |
| OKLCH | oklch(54.95% 0.234 313) |
| XYZ | xyz(26.6155, 13.9907, 60.3178) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.05
Vibrant Purple
#AD03DE
ΔE00 3.05
Violet (survey)
#9A0EEA
ΔE00 4.47
Purply
#983FB2
ΔE00 4.72
Barney
#AC1DB8
ΔE00 4.89
Darkviolet
#9400D3
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F30CF #60CF30
analogous
#5030CF #9F30CF #CF30AF
triadic
#9F30CF #CF9F30 #30CF9F
tetradic
#9F30CF #CF5030 #60CF30 #30AFCF
square
#9F30CF #CF5030 #60CF30 #30AFCF
split-complementary
#9F30CF #AFCF30 #30CF50
monochromatic
#53196C #79249D #9F30CF #B662DB #CD93E6
Accessibility & contrast
On white
5.53
#9F30CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#9F30CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F30CF
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F30CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F30CF | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#1A6BCC
Tritanopia (blue-blind)
#9A567F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9f30cf; /* rgb */ color: rgb(159, 48, 207); /* oklch */ color: oklch(54.9% 0.234 313.0);
Tailwind
colors: {
custom: {
50: '#c075df',
500: '#9f30cf',
950: '#000000',
},
}SCSS
$custom: #9f30cf; $custom-light: #c075df; $custom-dark: #000000;
JSON
{
"hex": "#9f30cf",
"rgb": {
"r": 159,
"g": 48,
"b": 207
},
"hsl": {
"h": 281.887,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.54947,
"c": 0.23373,
"h": 313
},
"luminance": 0.1399
}Semantic roles & 50–950 ramp
primary
#9F30CF
secondary
#9FD18A
accent
#E54274
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83