#9F4ABB#9F4ABB
#9F4ABB is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.4% C 0.183 H 316.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4ABB |
|---|---|
| RGB | rgb(159, 74, 187) |
| HSL | hsl(285, 45%, 51%) |
| HSV | hsv(285, 60%, 73%) |
| CMYK | cmyk(15%, 60.4%, 0%, 26.7%) |
| CIE-LAB | lab(46.79, 52.75, -44.71) |
| CIE-LCH | lch(46.79, 69.15, 319.72°) |
| OKLab | oklab(56.38% 0.1337 -0.125) |
| OKLCH | oklch(56.38% 0.183 316.9) |
| XYZ | xyz(25.7152, 15.8573, 48.7103) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.23
Medium Purple
#9E43A2
ΔE00 4.81
Amethyst
#9B5FC0
ΔE00 5.25
Ugly Purple
#A442A0
ΔE00 5.61
Darkorchid
#9932CC
ΔE00 5.64
Deep Lavender
#8D5EB7
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4ABB #66BB4A
analogous
#664ABB #9F4ABB #BB4A9E
triadic
#9F4ABB #BB9F4A #4ABB9F
tetradic
#9F4ABB #BB664A #66BB4A #4A9EBB
square
#9F4ABB #BB664A #66BB4A #4A9EBB
split-complementary
#9F4ABB #9EBB4A #4ABB66
monochromatic
#552665 #7B3791 #9F4ABB #B776CC #CEA3DC
Accessibility & contrast
On white
5.03
#9F4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#9F4ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4ABB
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4ABB | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6ABF
Deuteranopia (green-blind)
#4C72B8
Tritanopia (blue-blind)
#9E5D7C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9f4abb; /* rgb */ color: rgb(159, 74, 187); /* oklch */ color: oklch(56.4% 0.183 316.9);
Tailwind
colors: {
custom: {
50: '#be81d0',
500: '#9f4abb',
950: '#000000',
},
}SCSS
$custom: #9f4abb; $custom-light: #be81d0; $custom-dark: #000000;
JSON
{
"hex": "#9f4abb",
"rgb": {
"r": 159,
"g": 74,
"b": 187
},
"hsl": {
"h": 285.133,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.56382,
"c": 0.18307,
"h": 316.9
},
"luminance": 0.15856
}Semantic roles & 50–950 ramp
primary
#9F4ABB
secondary
#A4C997
accent
#D55373
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82