#9F2CBD#9F2CBD
#9F2CBD is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.222 H 318.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2CBD |
|---|---|
| RGB | rgb(159, 44, 189) |
| HSL | hsl(288, 62%, 46%) |
| HSV | hsv(288, 77%, 74%) |
| CMYK | cmyk(15.9%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(42.53, 65.40, -52.69) |
| CIE-LCH | lch(42.53, 83.99, 321.15°) |
| OKLab | oklab(53.37% 0.1656 -0.1482) |
| OKLCH | oklch(53.37% 0.222 318.2) |
| XYZ | xyz(24.3828, 12.8476, 49.3297) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.68
Darkorchid
#9932CC
ΔE00 2.87
Purply
#983FB2
ΔE00 3.15
Vibrant Purple
#AD03DE
ΔE00 4.70
Darkviolet
#9400D3
ΔE00 5.40
Medium Purple
#9E43A2
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2CBD #4ABD2C
analogous
#562CBD #9F2CBD #BD2C92
triadic
#9F2CBD #BD9F2C #2CBD9F
tetradic
#9F2CBD #BD562C #4ABD2C #2C92BD
square
#9F2CBD #BD562C #4ABD2C #2C92BD
split-complementary
#9F2CBD #92BD2C #2CBD56
monochromatic
#4B155A #75208B #9F2CBD #BA50D6 #CE82E2
Accessibility & contrast
On white
5.88
#9F2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#9F2CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2CBD
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2CBD | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#9E4C74
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9f2cbd; /* rgb */ color: rgb(159, 44, 189); /* oklch */ color: oklch(53.4% 0.222 318.2);
Tailwind
colors: {
custom: {
50: '#c072d2',
500: '#9f2cbd',
950: '#000000',
},
}SCSS
$custom: #9f2cbd; $custom-light: #c072d2; $custom-dark: #000000;
JSON
{
"hex": "#9f2cbd",
"rgb": {
"r": 159,
"g": 44,
"b": 189
},
"hsl": {
"h": 287.586,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.53369,
"c": 0.22219,
"h": 318.2
},
"luminance": 0.12846
}Semantic roles & 50–950 ramp
primary
#9F2CBD
secondary
#8BCB7A
accent
#E54264
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83