#9C4FCA#9C4FCA
#9C4FCA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.190 H 310.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4FCA |
|---|---|
| RGB | rgb(156, 79, 202) |
| HSL | hsl(278, 54%, 55%) |
| HSV | hsv(278, 61%, 79%) |
| CMYK | cmyk(22.8%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(48.16, 52.78, -51.22) |
| CIE-LCH | lch(48.16, 73.55, 315.86°) |
| OKLab | oklab(57.58% 0.1239 -0.1442) |
| OKLCH | oklch(57.58% 0.19 310.7) |
| XYZ | xyz(27.1650, 16.9247, 57.7014) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.40
Lightish Purple
#A552E6
ΔE00 4.55
Deep Lavender
#8D5EB7
ΔE00 5.27
Purply
#983FB2
ΔE00 5.44
Darkorchid
#9932CC
ΔE00 5.67
Purpley
#8756E4
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4FCA #7DCA4F
analogous
#5E4FCA #9C4FCA #CA4FBB
triadic
#9C4FCA #CA9C4F #4FCA9C
tetradic
#9C4FCA #CA5E4F #7DCA4F #4FBBCA
square
#9C4FCA #CA5E4F #7DCA4F #4FBBCA
split-complementary
#9C4FCA #BBCA4F #4FCA5E
monochromatic
#5A257A #7D33A9 #9C4FCA #B67ED8 #D1ADE6
Accessibility & contrast
On white
4.79
#9C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9C4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4FCA
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4FCA | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#966685
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9c4fca; /* rgb */ color: rgb(156, 79, 202); /* oklch */ color: oklch(57.6% 0.190 310.7);
Tailwind
colors: {
custom: {
50: '#bd84db',
500: '#9c4fca',
950: '#000000',
},
}SCSS
$custom: #9c4fca; $custom-light: #bd84db; $custom-dark: #000000;
JSON
{
"hex": "#9c4fca",
"rgb": {
"r": 156,
"g": 79,
"b": 202
},
"hsl": {
"h": 277.561,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.57582,
"c": 0.19007,
"h": 310.7
},
"luminance": 0.16924
}Semantic roles & 50–950 ramp
primary
#9C4FCA
secondary
#B4D4A1
accent
#DD4B81
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83