#9F33C2#9F33C2
#9F33C2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.219 H 316.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9F33C2 |
|---|---|
| RGB | rgb(159, 51, 194) |
| HSL | hsl(285, 58%, 48%) |
| HSV | hsv(285, 74%, 76%) |
| CMYK | cmyk(18%, 73.7%, 0%, 23.9%) |
| CIE-LAB | lab(43.70, 63.94, -53.72) |
| CIE-LCH | lch(43.70, 83.52, 319.96°) |
| OKLab | oklab(54.3% 0.1587 -0.1513) |
| OKLCH | oklch(54.3% 0.219 316.4) |
| XYZ | xyz(25.2180, 13.6346, 52.3319) |
| Luminance | 0.1363 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.13
Purply
#983FB2
ΔE00 2.96
Barney
#AC1DB8
ΔE00 3.49
Vibrant Purple
#AD03DE
ΔE00 4.37
Darkviolet
#9400D3
ΔE00 5.74
Violet (survey)
#9A0EEA
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F33C2 #56C233
analogous
#5833C2 #9F33C2 #C2339D
triadic
#9F33C2 #C29F33 #33C29F
tetradic
#9F33C2 #C25833 #56C233 #339DC2
square
#9F33C2 #C25833 #56C233 #339DC2
split-complementary
#9F33C2 #9DC233 #33C258
monochromatic
#501A61 #772692 #9F33C2 #B75ED5 #CD8EE1
Accessibility & contrast
On white
5.63
#9F33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#9F33C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F33C2
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F33C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F33C2 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#9D5178
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9f33c2; /* rgb */ color: rgb(159, 51, 194); /* oklch */ color: oklch(54.3% 0.219 316.4);
Tailwind
colors: {
custom: {
50: '#c075d5',
500: '#9f33c2',
950: '#000000',
},
}SCSS
$custom: #9f33c2; $custom-light: #c075d5; $custom-dark: #000000;
JSON
{
"hex": "#9f33c2",
"rgb": {
"r": 159,
"g": 51,
"b": 194
},
"hsl": {
"h": 285.315,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.54304,
"c": 0.21925,
"h": 316.4
},
"luminance": 0.13634
}Semantic roles & 50–950 ramp
primary
#9F33C2
secondary
#96CC85
accent
#E2466C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83