#9F4CD7#9F4CD7
#9F4CD7 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.209 H 308.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4CD7 |
|---|---|
| RGB | rgb(159, 76, 215) |
| HSL | hsl(276, 63%, 57%) |
| HSV | hsv(276, 65%, 84%) |
| CMYK | cmyk(26%, 64.7%, 0%, 15.7%) |
| CIE-LAB | lab(48.82, 57.78, -57.60) |
| CIE-LCH | lch(48.82, 81.59, 315.09°) |
| OKLab | oklab(58.39% 0.1307 -0.1628) |
| OKLCH | oklch(58.39% 0.209 308.8) |
| XYZ | xyz(29.1458, 17.4466, 66.1089) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.99
Purpley
#8756E4
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 5.62
Amethyst
#9B5FC0
ΔE00 5.73
Lighter Purple
#A55AF4
ΔE00 5.78
Electric Purple
#AA23FF
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4CD7 #84D74C
analogous
#5A4CD7 #9F4CD7 #D74CCA
triadic
#9F4CD7 #D79F4C #4CD79F
tetradic
#9F4CD7 #D75A4C #84D74C #4CCAD7
square
#9F4CD7 #D75A4C #84D74C #4CCAD7
split-complementary
#9F4CD7 #CAD74C #4CD75A
monochromatic
#5F1F8A #812ABC #9F4CD7 #BA7EE2 #D5B0ED
Accessibility & contrast
On white
4.68
#9F4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#9F4CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4CD7
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4CD7 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#3475D4
Tritanopia (blue-blind)
#97698B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9f4cd7; /* rgb */ color: rgb(159, 76, 215); /* oklch */ color: oklch(58.4% 0.209 308.8);
Tailwind
colors: {
custom: {
50: '#bf83e4',
500: '#9f4cd7',
950: '#000000',
},
}SCSS
$custom: #9f4cd7; $custom-light: #bf83e4; $custom-dark: #000000;
JSON
{
"hex": "#9f4cd7",
"rgb": {
"r": 159,
"g": 76,
"b": 215
},
"hsl": {
"h": 275.827,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.58393,
"c": 0.20875,
"h": 308.8
},
"luminance": 0.17446
}Semantic roles & 50–950 ramp
primary
#9F4CD7
secondary
#BADCA3
accent
#E64184
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84