#9F4CDB#9F4CDB
#9F4CDB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.213 H 307.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4CDB |
|---|---|
| RGB | rgb(159, 76, 219) |
| HSL | hsl(275, 67%, 58%) |
| HSV | hsv(275, 65%, 86%) |
| CMYK | cmyk(27.4%, 65.3%, 0%, 14.1%) |
| CIE-LAB | lab(49.07, 58.67, -59.47) |
| CIE-LCH | lch(49.07, 83.54, 314.61°) |
| OKLab | oklab(58.66% 0.1304 -0.1683) |
| OKLCH | oklch(58.66% 0.213 307.8) |
| XYZ | xyz(29.6661, 17.6547, 68.8490) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.56
Purpley
#8756E4
ΔE00 5.06
Lighter Purple
#A55AF4
ΔE00 5.30
Darkorchid
#9932CC
ΔE00 5.88
Electric Purple
#AA23FF
ΔE00 5.89
Amethyst
#9B5FC0
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4CDB #88DB4C
analogous
#574CDB #9F4CDB #DB4CD0
triadic
#9F4CDB #DB9F4C #4CDB9F
tetradic
#9F4CDB #DB574C #88DB4C #4CD0DB
square
#9F4CDB #DB574C #88DB4C #4CD0DB
split-complementary
#9F4CDB #D0DB4C #4CDB57
monochromatic
#601D90 #8127C3 #9F4CDB #BA7FE5 #D6B2EF
Accessibility & contrast
On white
4.63
#9F4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#9F4CDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4CDB
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4CDB | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#2F75D8
Tritanopia (blue-blind)
#966A8D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9f4cdb; /* rgb */ color: rgb(159, 76, 219); /* oklch */ color: oklch(58.7% 0.213 307.8);
Tailwind
colors: {
custom: {
50: '#c083e7',
500: '#9f4cdb',
950: '#000000',
},
}SCSS
$custom: #9f4cdb; $custom-light: #c083e7; $custom-dark: #000000;
JSON
{
"hex": "#9f4cdb",
"rgb": {
"r": 159,
"g": 76,
"b": 219
},
"hsl": {
"h": 274.825,
"s": 66.512,
"l": 57.843
},
"oklch": {
"l": 0.58659,
"c": 0.21287,
"h": 307.8
},
"luminance": 0.17654
}Semantic roles & 50–950 ramp
primary
#9F4CDB
secondary
#BDDEA5
accent
#E93E86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84