#9F30C2#9F30C2
#9F30C2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.222 H 316.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9F30C2 |
|---|---|
| RGB | rgb(159, 48, 194) |
| HSL | hsl(286, 60%, 47%) |
| HSV | hsv(286, 75%, 76%) |
| CMYK | cmyk(18%, 75.3%, 0%, 23.9%) |
| CIE-LAB | lab(43.33, 65.01, -54.32) |
| CIE-LCH | lch(43.33, 84.72, 320.12°) |
| OKLab | oklab(54.04% 0.1614 -0.153) |
| OKLCH | oklch(54.04% 0.222 316.5) |
| XYZ | xyz(25.0911, 13.3809, 52.2896) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.08
Purply
#983FB2
ΔE00 3.19
Barney
#AC1DB8
ΔE00 3.32
Vibrant Purple
#AD03DE
ΔE00 4.21
Darkviolet
#9400D3
ΔE00 5.39
Violet (survey)
#9A0EEA
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F30C2 #53C230
analogous
#5630C2 #9F30C2 #C2309C
triadic
#9F30C2 #C29F30 #30C29F
tetradic
#9F30C2 #C25630 #53C230 #309CC2
square
#9F30C2 #C25630 #53C230 #309CC2
split-complementary
#9F30C2 #9CC230 #30C256
monochromatic
#4F1860 #772491 #9F30C2 #B859D6 #CD8AE2
Accessibility & contrast
On white
5.71
#9F30C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#9F30C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F30C2
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F30C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F30C2 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#3069BF
Tritanopia (blue-blind)
#9D5077
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9f30c2; /* rgb */ color: rgb(159, 48, 194); /* oklch */ color: oklch(54.0% 0.222 316.5);
Tailwind
colors: {
custom: {
50: '#c074d5',
500: '#9f30c2',
950: '#000000',
},
}SCSS
$custom: #9f30c2; $custom-light: #c074d5; $custom-dark: #000000;
JSON
{
"hex": "#9f30c2",
"rgb": {
"r": 159,
"g": 48,
"b": 194
},
"hsl": {
"h": 285.616,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.5404,
"c": 0.22242,
"h": 316.5
},
"luminance": 0.1338
}Semantic roles & 50–950 ramp
primary
#9F30C2
secondary
#94CC82
accent
#E3446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83