#9F2CA2#9F2CA2
#9F2CA2 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.200 H 326.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2CA2 |
|---|---|
| RGB | rgb(159, 44, 162) |
| HSL | hsl(298, 57%, 40%) |
| HSV | hsv(298, 73%, 64%) |
| CMYK | cmyk(1.9%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(40.87, 60.57, -39.35) |
| CIE-LCH | lch(40.87, 72.23, 326.99°) |
| OKLab | oklab(51.65% 0.1675 -0.1092) |
| OKLCH | oklch(51.65% 0.2 326.9) |
| XYZ | xyz(21.7200, 11.7824, 35.3057) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.44
Barney Purple
#A00498
ΔE00 3.65
Barney
#AC1DB8
ΔE00 3.72
Medium Purple
#9E43A2
ΔE00 4.01
Purply
#983FB2
ΔE00 4.39
Ugly Purple
#A442A0
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2CA2 #2FA22C
analogous
#642CA2 #9F2CA2 #A22C6A
triadic
#9F2CA2 #A29F2C #2CA29F
tetradic
#9F2CA2 #A2642C #2FA22C #2C6AA2
square
#9F2CA2 #A2642C #2FA22C #2C6AA2
split-complementary
#9F2CA2 #6AA22C #2CA264
monochromatic
#411242 #701F72 #9F2CA2 #C840CB #D670D8
Accessibility & contrast
On white
6.26
#9F2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#9F2CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2CA2
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2CA2 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1057A5
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#A43F65
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9f2ca2; /* rgb */ color: rgb(159, 44, 162); /* oklch */ color: oklch(51.7% 0.200 326.9);
Tailwind
colors: {
custom: {
50: '#bf71be',
500: '#9f2ca2',
950: '#000000',
},
}SCSS
$custom: #9f2ca2; $custom-light: #bf71be; $custom-dark: #000000;
JSON
{
"hex": "#9f2ca2",
"rgb": {
"r": 159,
"g": 44,
"b": 162
},
"hsl": {
"h": 298.475,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.51653,
"c": 0.19998,
"h": 326.9
},
"luminance": 0.11781
}Semantic roles & 50–950 ramp
primary
#9F2CA2
secondary
#6DBF6A
accent
#E1474B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81