#9C4FE5#9C4FE5
#9C4FE5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.219 H 304.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4FE5 |
|---|---|
| RGB | rgb(156, 79, 229) |
| HSL | hsl(271, 74%, 60%) |
| HSV | hsv(271, 66%, 90%) |
| CMYK | cmyk(31.9%, 65.5%, 0%, 10.2%) |
| CIE-LAB | lab(49.88, 58.90, -63.85) |
| CIE-LCH | lch(49.88, 86.87, 312.69°) |
| OKLab | oklab(59.37% 0.1223 -0.1813) |
| OKLCH | oklch(59.37% 0.219 304) |
| XYZ | xyz(30.6459, 18.3171, 76.0346) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.97
Purpley
#8756E4
ΔE00 3.86
Lighter Purple
#A55AF4
ΔE00 4.01
Electric Purple
#AA23FF
ΔE00 5.66
Neon Purple
#BC13FE
ΔE00 6.58
Bright Violet
#AD0AFD
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4FE5 #98E54F
analogous
#514FE5 #9C4FE5 #E54FE3
triadic
#9C4FE5 #E59C4F #4FE59C
tetradic
#9C4FE5 #E5514F #98E54F #4FE3E5
square
#9C4FE5 #E5514F #98E54F #4FE3E5
split-complementary
#9C4FE5 #E3E54F #4FE551
monochromatic
#5F18A2 #7E20D7 #9C4FE5 #BA84ED #D8BAF5
Accessibility & contrast
On white
4.50
#9C4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#9C4FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C4FE5
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C4FE5 | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1B77E2
Tritanopia (blue-blind)
#8E7093
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9c4fe5; /* rgb */ color: rgb(156, 79, 229); /* oklch */ color: oklch(59.4% 0.219 304.0);
Tailwind
colors: {
custom: {
50: '#be85ee',
500: '#9c4fe5',
950: '#000000',
},
}SCSS
$custom: #9c4fe5; $custom-light: #be85ee; $custom-dark: #000000;
JSON
{
"hex": "#9c4fe5",
"rgb": {
"r": 156,
"g": 79,
"b": 229
},
"hsl": {
"h": 270.8,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.59367,
"c": 0.21869,
"h": 304
},
"luminance": 0.18317
}Semantic roles & 50–950 ramp
primary
#9C4FE5
secondary
#C7E5AB
accent
#D60F70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84