#9F4CBF#9F4CBF
#9F4CBF is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.9% C 0.184 H 315.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4CBF |
|---|---|
| RGB | rgb(159, 76, 191) |
| HSL | hsl(283, 47%, 52%) |
| HSV | hsv(283, 60%, 75%) |
| CMYK | cmyk(16.8%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(47.37, 52.62, -46.11) |
| CIE-LCH | lch(47.37, 69.96, 318.77°) |
| OKLab | oklab(56.88% 0.1313 -0.1291) |
| OKLCH | oklch(56.88% 0.184 315.5) |
| XYZ | xyz(26.2850, 16.3023, 51.0422) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.89
Amethyst
#9B5FC0
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 5.52
Medium Purple
#9E43A2
ΔE00 5.61
Darkorchid
#9932CC
ΔE00 5.70
Ugly Purple
#A442A0
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4CBF #6CBF4C
analogous
#654CBF #9F4CBF #BF4CA6
triadic
#9F4CBF #BF9F4C #4CBF9F
tetradic
#9F4CBF #BF654C #6CBF4C #4CA6BF
square
#9F4CBF #BF654C #6CBF4C #4CA6BF
split-complementary
#9F4CBF #A6BF4C #4CBF65
monochromatic
#57266B #7C3698 #9F4CBF #B779CF #CFA6DF
Accessibility & contrast
On white
4.93
#9F4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#9F4CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4CBF
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4CBF | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296BC3
Deuteranopia (green-blind)
#4B73BC
Tritanopia (blue-blind)
#9D607E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9f4cbf; /* rgb */ color: rgb(159, 76, 191); /* oklch */ color: oklch(56.9% 0.184 315.5);
Tailwind
colors: {
custom: {
50: '#be83d3',
500: '#9f4cbf',
950: '#000000',
},
}SCSS
$custom: #9f4cbf; $custom-light: #be83d3; $custom-dark: #000000;
JSON
{
"hex": "#9f4cbf",
"rgb": {
"r": 159,
"g": 76,
"b": 191
},
"hsl": {
"h": 283.304,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.56879,
"c": 0.18416,
"h": 315.5
},
"luminance": 0.16301
}Semantic roles & 50–950 ramp
primary
#9F4CBF
secondary
#A8CC9A
accent
#D75176
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83