#9C4FCB#9C4FCB
#9C4FCB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.191 H 310.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4FCB |
|---|---|
| RGB | rgb(156, 79, 203) |
| HSL | hsl(277, 54%, 55%) |
| HSV | hsv(277, 61%, 80%) |
| CMYK | cmyk(23.2%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(48.23, 53.00, -51.70) |
| CIE-LCH | lch(48.23, 74.04, 315.71°) |
| OKLab | oklab(57.65% 0.1238 -0.1456) |
| OKLCH | oklch(57.65% 0.191 310.4) |
| XYZ | xyz(27.2837, 16.9722, 58.3270) |
| Luminance | 0.1697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.41
Amethyst
#9B5FC0
ΔE00 4.46
Deep Lavender
#8D5EB7
ΔE00 5.34
Purply
#983FB2
ΔE00 5.56
Darkorchid
#9932CC
ΔE00 5.67
Purpley
#8756E4
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4FCB #7ECB4F
analogous
#5E4FCB #9C4FCB #CB4FBC
triadic
#9C4FCB #CB9C4F #4FCB9C
tetradic
#9C4FCB #CB5E4F #7ECB4F #4FBCCB
square
#9C4FCB #CB5E4F #7ECB4F #4FBCCB
split-complementary
#9C4FCB #BCCB4F #4FCB5E
monochromatic
#5A247B #7D32AA #9C4FCB #B77ED9 #D1ADE7
Accessibility & contrast
On white
4.78
#9C4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#9C4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4FCB
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4FCB | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A6FCF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#966786
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9c4fcb; /* rgb */ color: rgb(156, 79, 203); /* oklch */ color: oklch(57.6% 0.191 310.4);
Tailwind
colors: {
custom: {
50: '#bd84db',
500: '#9c4fcb',
950: '#000000',
},
}SCSS
$custom: #9c4fcb; $custom-light: #bd84db; $custom-dark: #000000;
JSON
{
"hex": "#9c4fcb",
"rgb": {
"r": 156,
"g": 79,
"b": 203
},
"hsl": {
"h": 277.258,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.57645,
"c": 0.19113,
"h": 310.4
},
"luminance": 0.16972
}Semantic roles & 50–950 ramp
primary
#9C4FCB
secondary
#B5D5A1
accent
#DE4A82
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83