#9F4ABC#9F4ABC
#9F4ABC is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.4% C 0.184 H 316.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4ABC |
|---|---|
| RGB | rgb(159, 74, 188) |
| HSL | hsl(285, 46%, 51%) |
| HSV | hsv(285, 61%, 74%) |
| CMYK | cmyk(15.4%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(46.84, 52.96, -45.20) |
| CIE-LCH | lch(46.84, 69.63, 319.52°) |
| OKLab | oklab(56.44% 0.1338 -0.1265) |
| OKLCH | oklch(56.44% 0.184 316.6) |
| XYZ | xyz(25.8226, 15.9003, 49.2760) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.30
Medium Purple
#9E43A2
ΔE00 4.98
Amethyst
#9B5FC0
ΔE00 5.21
Darkorchid
#9932CC
ΔE00 5.55
Ugly Purple
#A442A0
ΔE00 5.78
Deep Lavender
#8D5EB7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4ABC #67BC4A
analogous
#664ABC #9F4ABC #BC4AA0
triadic
#9F4ABC #BC9F4A #4ABC9F
tetradic
#9F4ABC #BC664A #67BC4A #4AA0BC
square
#9F4ABC #BC664A #67BC4A #4AA0BC
split-complementary
#9F4ABC #A0BC4A #4ABC66
monochromatic
#562666 #7B3693 #9F4ABC #B777CD #CEA3DD
Accessibility & contrast
On white
5.02
#9F4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#9F4ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4ABC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4ABC | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#9E5E7C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9f4abc; /* rgb */ color: rgb(159, 74, 188); /* oklch */ color: oklch(56.4% 0.184 316.6);
Tailwind
colors: {
custom: {
50: '#be81d1',
500: '#9f4abc',
950: '#000000',
},
}SCSS
$custom: #9f4abc; $custom-light: #be81d1; $custom-dark: #000000;
JSON
{
"hex": "#9f4abc",
"rgb": {
"r": 159,
"g": 74,
"b": 188
},
"hsl": {
"h": 284.737,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.56442,
"c": 0.18407,
"h": 316.6
},
"luminance": 0.15899
}Semantic roles & 50–950 ramp
primary
#9F4ABC
secondary
#A5CA98
accent
#D65274
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82