#9F4ADC#9F4ADC
#9F4ADC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.216 H 307.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4ADC |
|---|---|
| RGB | rgb(159, 74, 220) |
| HSL | hsl(275, 68%, 58%) |
| HSV | hsv(275, 66%, 86%) |
| CMYK | cmyk(27.7%, 66.4%, 0%, 13.7%) |
| CIE-LAB | lab(48.80, 59.82, -60.47) |
| CIE-LCH | lch(48.80, 85.06, 314.69°) |
| OKLab | oklab(58.49% 0.1325 -0.1712) |
| OKLCH | oklch(58.49% 0.216 307.7) |
| XYZ | xyz(29.6624, 17.4362, 69.4992) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.79
Purpley
#8756E4
ΔE00 5.11
Lighter Purple
#A55AF4
ΔE00 5.52
Electric Purple
#AA23FF
ΔE00 5.54
Darkorchid
#9932CC
ΔE00 5.57
Neon Purple
#BC13FE
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4ADC #87DC4A
analogous
#564ADC #9F4ADC #DC4AD0
triadic
#9F4ADC #DC9F4A #4ADC9F
tetradic
#9F4ADC #DC564A #87DC4A #4AD0DC
square
#9F4ADC #DC564A #87DC4A #4AD0DC
split-complementary
#9F4ADC #D0DC4A #4ADC56
monochromatic
#5F1C90 #8126C3 #9F4ADC #BA7DE6 #D5B1F0
Accessibility & contrast
On white
4.68
#9F4ADC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#9F4ADC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4ADC
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4ADC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4ADC | 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)
#0071E0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#95698D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9f4adc; /* rgb */ color: rgb(159, 74, 220); /* oklch */ color: oklch(58.5% 0.216 307.7);
Tailwind
colors: {
custom: {
50: '#c082e8',
500: '#9f4adc',
950: '#000000',
},
}SCSS
$custom: #9f4adc; $custom-light: #c082e8; $custom-dark: #000000;
JSON
{
"hex": "#9f4adc",
"rgb": {
"r": 159,
"g": 74,
"b": 220
},
"hsl": {
"h": 274.932,
"s": 67.593,
"l": 57.647
},
"oklch": {
"l": 0.58486,
"c": 0.21648,
"h": 307.7
},
"luminance": 0.17436
}Semantic roles & 50–950 ramp
primary
#9F4ADC
secondary
#BCDEA4
accent
#EA3D86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84