#9F3CBD#9F3CBD
#9F3CBD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.204 H 317.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3CBD |
|---|---|
| RGB | rgb(159, 60, 189) |
| HSL | hsl(286, 52%, 49%) |
| HSV | hsv(286, 68%, 74%) |
| CMYK | cmyk(15.9%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(44.63, 59.45, -49.32) |
| CIE-LCH | lch(44.63, 77.24, 320.32°) |
| OKLab | oklab(54.86% 0.1501 -0.1384) |
| OKLCH | oklch(54.86% 0.204 317.3) |
| XYZ | xyz(25.0979, 14.2778, 49.5681) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.93
Darkorchid
#9932CC
ΔE00 3.39
Barney
#AC1DB8
ΔE00 3.94
Medium Purple
#9E43A2
ΔE00 5.11
Vibrant Purple
#AD03DE
ΔE00 5.65
Ugly Purple
#A442A0
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3CBD #5ABD3C
analogous
#5F3CBD #9F3CBD #BD3C9B
triadic
#9F3CBD #BD9F3C #3CBD9F
tetradic
#9F3CBD #BD5F3C #5ABD3C #3C9BBD
square
#9F3CBD #BD5F3C #5ABD3C #3C9BBD
split-complementary
#9F3CBD #9BBD3C #3CBD5F
monochromatic
#511F60 #782D8F #9F3CBD #B767CF #CD96DE
Accessibility & contrast
On white
5.45
#9F3CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#9F3CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3CBD
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3CBD | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#3F6DBA
Tritanopia (blue-blind)
#9E5578
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9f3cbd; /* rgb */ color: rgb(159, 60, 189); /* oklch */ color: oklch(54.9% 0.204 317.3);
Tailwind
colors: {
custom: {
50: '#bf7ad1',
500: '#9f3cbd',
950: '#000000',
},
}SCSS
$custom: #9f3cbd; $custom-light: #bf7ad1; $custom-dark: #000000;
JSON
{
"hex": "#9f3cbd",
"rgb": {
"r": 159,
"g": 60,
"b": 189
},
"hsl": {
"h": 286.047,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.54862,
"c": 0.20417,
"h": 317.3
},
"luminance": 0.14277
}Semantic roles & 50–950 ramp
primary
#9F3CBD
secondary
#9AC98C
accent
#DB4D6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82