#9F4CBB#9F4CBB
#9F4CBB is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.6% C 0.180 H 316.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4CBB |
|---|---|
| RGB | rgb(159, 76, 187) |
| HSL | hsl(285, 45%, 52%) |
| HSV | hsv(285, 59%, 73%) |
| CMYK | cmyk(15%, 59.4%, 0%, 26.7%) |
| CIE-LAB | lab(47.14, 51.79, -44.14) |
| CIE-LCH | lch(47.14, 68.05, 319.56°) |
| OKLab | oklab(56.64% 0.1312 -0.1234) |
| OKLCH | oklch(56.64% 0.18 316.8) |
| XYZ | xyz(25.8508, 16.1286, 48.7555) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.62
Amethyst
#9B5FC0
ΔE00 4.82
Medium Purple
#9E43A2
ΔE00 4.96
Deep Lavender
#8D5EB7
ΔE00 5.54
Ugly Purple
#A442A0
ΔE00 5.72
Darkorchid
#9932CC
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4CBB #68BB4C
analogous
#684CBB #9F4CBB #BB4CA0
triadic
#9F4CBB #BB9F4C #4CBB9F
tetradic
#9F4CBB #BB684C #68BB4C #4CA0BB
square
#9F4CBB #BB684C #68BB4C #4CA0BB
split-complementary
#9F4CBB #A0BB4C #4CBB68
monochromatic
#562766 #7B3892 #9F4CBB #B778CC #CFA5DD
Accessibility & contrast
On white
4.97
#9F4CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#9F4CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4CBB
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4CBB | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#9E5F7C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9f4cbb; /* rgb */ color: rgb(159, 76, 187); /* oklch */ color: oklch(56.6% 0.180 316.8);
Tailwind
colors: {
custom: {
50: '#be82d0',
500: '#9f4cbb',
950: '#000000',
},
}SCSS
$custom: #9f4cbb; $custom-light: #be82d0; $custom-dark: #000000;
JSON
{
"hex": "#9f4cbb",
"rgb": {
"r": 159,
"g": 76,
"b": 187
},
"hsl": {
"h": 284.865,
"s": 44.939,
"l": 51.569
},
"oklch": {
"l": 0.56641,
"c": 0.1801,
"h": 316.8
},
"luminance": 0.16128
}Semantic roles & 50–950 ramp
primary
#9F4CBB
secondary
#A5CA99
accent
#D55374
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82