#9F4EBE#9F4EBE
#9F4EBE is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.180 H 315.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4EBE |
|---|---|
| RGB | rgb(159, 78, 190) |
| HSL | hsl(283, 46%, 53%) |
| HSV | hsv(283, 59%, 75%) |
| CMYK | cmyk(16.3%, 58.9%, 0%, 25.5%) |
| CIE-LAB | lab(47.67, 51.43, -45.04) |
| CIE-LCH | lch(47.67, 68.37, 318.79°) |
| OKLab | oklab(57.08% 0.1287 -0.126) |
| OKLCH | oklch(57.08% 0.18 315.6) |
| XYZ | xyz(26.3153, 16.5383, 50.5112) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.20
Amethyst
#9B5FC0
ΔE00 4.28
Deep Lavender
#8D5EB7
ΔE00 5.20
Medium Purple
#9E43A2
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 6.18
Ugly Purple
#A442A0
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4EBE #6DBE4E
analogous
#674EBE #9F4EBE #BE4EA5
triadic
#9F4EBE #BE9F4E #4EBE9F
tetradic
#9F4EBE #BE674E #6DBE4E #4EA5BE
square
#9F4EBE #BE674E #6DBE4E #4EA5BE
split-complementary
#9F4EBE #A5BE4E #4EBE67
monochromatic
#58276A #7D3897 #9F4EBE #B77BCE #D0A8DF
Accessibility & contrast
On white
4.88
#9F4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#9F4EBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4EBE
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4EBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4EBE | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6CC2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#9D617F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9f4ebe; /* rgb */ color: rgb(159, 78, 190); /* oklch */ color: oklch(57.1% 0.180 315.6);
Tailwind
colors: {
custom: {
50: '#be84d2',
500: '#9f4ebe',
950: '#000000',
},
}SCSS
$custom: #9f4ebe; $custom-light: #be84d2; $custom-dark: #000000;
JSON
{
"hex": "#9f4ebe",
"rgb": {
"r": 159,
"g": 78,
"b": 190
},
"hsl": {
"h": 283.393,
"s": 46.281,
"l": 52.549
},
"oklch": {
"l": 0.57082,
"c": 0.18016,
"h": 315.6
},
"luminance": 0.16537
}Semantic roles & 50–950 ramp
primary
#9F4EBE
secondary
#A9CC9C
accent
#D65276
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82