#9F2CAC#9F2CAC
#9F2CAC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.208 H 323.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2CAC |
|---|---|
| RGB | rgb(159, 44, 172) |
| HSL | hsl(294, 59%, 42%) |
| HSV | hsv(294, 74%, 67%) |
| CMYK | cmyk(7.6%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(41.46, 62.30, -44.38) |
| CIE-LCH | lch(41.46, 76.50, 324.54°) |
| OKLab | oklab(52.26% 0.1672 -0.1239) |
| OKLCH | oklch(52.26% 0.208 323.5) |
| XYZ | xyz(22.6445, 12.1522, 40.1746) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.53
Purply
#983FB2
ΔE00 3.27
Medium Purple
#9E43A2
ΔE00 4.49
Barney Purple
#A00498
ΔE00 4.72
Warm Purple
#952E8F
ΔE00 5.05
Ugly Purple
#A442A0
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2CAC #39AC2C
analogous
#5F2CAC #9F2CAC #AC2C79
triadic
#9F2CAC #AC9F2C #2CAC9F
tetradic
#9F2CAC #AC5F2C #39AC2C #2C79AC
square
#9F2CAC #AC5F2C #39AC2C #2C79AC
split-complementary
#9F2CAC #79AC2C #2CAC5F
monochromatic
#45134B #72207B #9F2CAC #C246D0 #D276DC
Accessibility & contrast
On white
6.12
#9F2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#9F2CAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2CAC
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2CAC | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#A2446A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9f2cac; /* rgb */ color: rgb(159, 44, 172); /* oklch */ color: oklch(52.3% 0.208 323.5);
Tailwind
colors: {
custom: {
50: '#bf71c5',
500: '#9f2cac',
950: '#000000',
},
}SCSS
$custom: #9f2cac; $custom-light: #bf71c5; $custom-dark: #000000;
JSON
{
"hex": "#9f2cac",
"rgb": {
"r": 159,
"g": 44,
"b": 172
},
"hsl": {
"h": 293.906,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.52263,
"c": 0.20807,
"h": 323.5
},
"luminance": 0.12151
}Semantic roles & 50–950 ramp
primary
#9F2CAC
secondary
#78C470
accent
#E24555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82