#9F4CD3#9F4CD3
#9F4CD3 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.205 H 309.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4CD3 |
|---|---|
| RGB | rgb(159, 76, 211) |
| HSL | hsl(277, 61%, 56%) |
| HSV | hsv(277, 64%, 83%) |
| CMYK | cmyk(24.6%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(48.57, 56.90, -55.72) |
| CIE-LCH | lch(48.57, 79.64, 315.60°) |
| OKLab | oklab(58.13% 0.1309 -0.1573) |
| OKLCH | oklch(58.13% 0.205 309.8) |
| XYZ | xyz(28.6381, 17.2435, 63.4351) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.47
Amethyst
#9B5FC0
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 5.43
Purpley
#8756E4
ΔE00 5.81
Purply
#983FB2
ΔE00 6.25
Lighter Purple
#A55AF4
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4CD3 #80D34C
analogous
#5C4CD3 #9F4CD3 #D34CC4
triadic
#9F4CD3 #D39F4C #4CD39F
tetradic
#9F4CD3 #D35C4C #80D34C #4CC4D3
square
#9F4CD3 #D35C4C #80D34C #4CC4D3
split-complementary
#9F4CD3 #C4D34C #4CD35C
monochromatic
#5E2084 #812DB5 #9F4CD3 #B97DDF #D4AEEB
Accessibility & contrast
On white
4.72
#9F4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#9F4CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4CD3
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4CD3 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#3975D0
Tritanopia (blue-blind)
#986789
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9f4cd3; /* rgb */ color: rgb(159, 76, 211); /* oklch */ color: oklch(58.1% 0.205 309.8);
Tailwind
colors: {
custom: {
50: '#bf83e1',
500: '#9f4cd3',
950: '#000000',
},
}SCSS
$custom: #9f4cd3; $custom-light: #bf83e1; $custom-dark: #000000;
JSON
{
"hex": "#9f4cd3",
"rgb": {
"r": 159,
"g": 76,
"b": 211
},
"hsl": {
"h": 276.889,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.5813,
"c": 0.20464,
"h": 309.8
},
"luminance": 0.17243
}Semantic roles & 50–950 ramp
primary
#9F4CD3
secondary
#B7D9A2
accent
#E44482
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83