#9C4EDF#9C4EDF
#9C4EDF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.214 H 305.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4EDF |
|---|---|
| RGB | rgb(156, 78, 223) |
| HSL | hsl(272, 69%, 59%) |
| HSV | hsv(272, 65%, 87%) |
| CMYK | cmyk(30%, 65%, 0%, 12.5%) |
| CIE-LAB | lab(49.31, 57.99, -61.38) |
| CIE-LCH | lch(49.31, 84.44, 313.37°) |
| OKLab | oklab(58.83% 0.124 -0.174) |
| OKLCH | oklch(58.83% 0.214 305.5) |
| XYZ | xyz(29.7511, 17.8446, 71.6748) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.30
Purpley
#8756E4
ΔE00 4.19
Lighter Purple
#A55AF4
ΔE00 4.75
Electric Purple
#AA23FF
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.39
Darkorchid
#9932CC
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4EDF #91DF4E
analogous
#544EDF #9C4EDF #DF4EDA
triadic
#9C4EDF #DF9C4E #4EDF9C
tetradic
#9C4EDF #DF544E #91DF4E #4EDADF
square
#9C4EDF #DF544E #91DF4E #4EDADF
split-complementary
#9C4EDF #DADF4E #4EDF54
monochromatic
#5E1B97 #7E25CB #9C4EDF #B982E8 #D6B6F2
Accessibility & contrast
On white
4.60
#9C4EDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#9C4EDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4EDF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4EDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4EDF | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#2675DC
Tritanopia (blue-blind)
#906D90
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9c4edf; /* rgb */ color: rgb(156, 78, 223); /* oklch */ color: oklch(58.8% 0.214 305.5);
Tailwind
colors: {
custom: {
50: '#be84ea',
500: '#9c4edf',
950: '#000000',
},
}SCSS
$custom: #9c4edf; $custom-light: #be84ea; $custom-dark: #000000;
JSON
{
"hex": "#9c4edf",
"rgb": {
"r": 156,
"g": 78,
"b": 223
},
"hsl": {
"h": 272.276,
"s": 69.378,
"l": 59.02
},
"oklch": {
"l": 0.58829,
"c": 0.21365,
"h": 305.5
},
"luminance": 0.17844
}Semantic roles & 50–950 ramp
primary
#9C4EDF
secondary
#C2E1A8
accent
#EC3C8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84