#9F4ABF#9F4ABF
#9F4ABF is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.6% C 0.187 H 315.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4ABF |
|---|---|
| RGB | rgb(159, 74, 191) |
| HSL | hsl(284, 48%, 52%) |
| HSV | hsv(284, 61%, 75%) |
| CMYK | cmyk(16.8%, 61.3%, 0%, 25.1%) |
| CIE-LAB | lab(47.02, 53.58, -46.67) |
| CIE-LCH | lch(47.02, 71.06, 318.94°) |
| OKLab | oklab(56.62% 0.1338 -0.1308) |
| OKLCH | oklch(56.62% 0.187 315.7) |
| XYZ | xyz(26.1494, 16.0310, 50.9969) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.54
Amethyst
#9B5FC0
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 5.30
Medium Purple
#9E43A2
ΔE00 5.48
Deep Lavender
#8D5EB7
ΔE00 5.84
Ugly Purple
#A442A0
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4ABF #6ABF4A
analogous
#654ABF #9F4ABF #BF4AA4
triadic
#9F4ABF #BF9F4A #4ABF9F
tetradic
#9F4ABF #BF654A #6ABF4A #4AA4BF
square
#9F4ABF #BF654A #6ABF4A #4AA4BF
split-complementary
#9F4ABF #A4BF4A #4ABF65
monochromatic
#572569 #7C3597 #9F4ABF #B777CF #CFA4DF
Accessibility & contrast
On white
4.99
#9F4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#9F4ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4ABF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4ABF | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256AC3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#9D5F7E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9f4abf; /* rgb */ color: rgb(159, 74, 191); /* oklch */ color: oklch(56.6% 0.187 315.7);
Tailwind
colors: {
custom: {
50: '#be81d3',
500: '#9f4abf',
950: '#000000',
},
}SCSS
$custom: #9f4abf; $custom-light: #be81d3; $custom-dark: #000000;
JSON
{
"hex": "#9f4abf",
"rgb": {
"r": 159,
"g": 74,
"b": 191
},
"hsl": {
"h": 283.59,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.56622,
"c": 0.18708,
"h": 315.7
},
"luminance": 0.1603
}Semantic roles & 50–950 ramp
primary
#9F4ABF
secondary
#A7CC99
accent
#D75075
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83