#9F3CB2#9F3CB2
#9F3CB2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.194 H 320.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3CB2 |
|---|---|
| RGB | rgb(159, 60, 178) |
| HSL | hsl(290, 50%, 47%) |
| HSV | hsv(290, 66%, 70%) |
| CMYK | cmyk(10.7%, 66.3%, 0%, 30.2%) |
| CIE-LAB | lab(43.97, 57.31, -43.92) |
| CIE-LCH | lch(43.97, 72.20, 322.53°) |
| OKLab | oklab(54.18% 0.1505 -0.1226) |
| OKLCH | oklch(54.18% 0.194 320.8) |
| XYZ | xyz(23.9489, 13.8182, 43.5165) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.37
Medium Purple
#9E43A2
ΔE00 3.35
Barney
#AC1DB8
ΔE00 3.61
Ugly Purple
#A442A0
ΔE00 4.31
Darkorchid
#9932CC
ΔE00 4.99
Warm Purple
#952E8F
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3CB2 #4FB23C
analogous
#643CB2 #9F3CB2 #B23C8A
triadic
#9F3CB2 #B29F3C #3CB29F
tetradic
#9F3CB2 #B2643C #4FB23C #3C8AB2
square
#9F3CB2 #B2643C #4FB23C #3C8AB2
split-complementary
#9F3CB2 #8AB23C #3CB264
monochromatic
#4D1D56 #762D84 #9F3CB2 #B961CA #CD8FD9
Accessibility & contrast
On white
5.58
#9F3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#9F3CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3CB2
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3CB2 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1861B5
Deuteranopia (green-blind)
#486CAF
Tritanopia (blue-blind)
#A05072
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9f3cb2; /* rgb */ color: rgb(159, 60, 178); /* oklch */ color: oklch(54.2% 0.194 320.8);
Tailwind
colors: {
custom: {
50: '#bf79c9',
500: '#9f3cb2',
950: '#000000',
},
}SCSS
$custom: #9f3cb2; $custom-light: #bf79c9; $custom-dark: #000000;
JSON
{
"hex": "#9f3cb2",
"rgb": {
"r": 159,
"g": 60,
"b": 178
},
"hsl": {
"h": 290.339,
"s": 49.58,
"l": 46.667
},
"oklch": {
"l": 0.54178,
"c": 0.1941,
"h": 320.8
},
"luminance": 0.13817
}Semantic roles & 50–950 ramp
primary
#9F3CB2
secondary
#90C486
accent
#D94F65
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82