#9C51CF#9C51CF
#9C51CF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.2% C 0.193 H 309.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9C51CF |
|---|---|
| RGB | rgb(156, 81, 207) |
| HSL | hsl(276, 57%, 56%) |
| HSV | hsv(276, 61%, 81%) |
| CMYK | cmyk(24.6%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(48.83, 52.90, -53.02) |
| CIE-LCH | lch(48.83, 74.90, 314.93°) |
| OKLab | oklab(58.16% 0.1213 -0.1495) |
| OKLCH | oklch(58.16% 0.193 309.1) |
| XYZ | xyz(27.9130, 17.4582, 60.9187) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.69
Amethyst
#9B5FC0
ΔE00 4.37
Deep Lavender
#8D5EB7
ΔE00 5.42
Purpley
#8756E4
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 6.18
Mediumorchid
#BA55D3
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C51CF #84CF51
analogous
#5D51CF #9C51CF #CF51C3
triadic
#9C51CF #CF9C51 #51CF9C
tetradic
#9C51CF #CF5D51 #84CF51 #51C3CF
square
#9C51CF #CF5D51 #84CF51 #51C3CF
split-complementary
#9C51CF #C3CF51 #51CF5D
monochromatic
#5C2482 #7E31B2 #9C51CF #B781DC #D3B1E9
Accessibility & contrast
On white
4.68
#9C51CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#9C51CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C51CF
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C51CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C51CF | 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)
#1871D3
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#956988
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9c51cf; /* rgb */ color: rgb(156, 81, 207); /* oklch */ color: oklch(58.2% 0.193 309.1);
Tailwind
colors: {
custom: {
50: '#bd86de',
500: '#9c51cf',
950: '#000000',
},
}SCSS
$custom: #9c51cf; $custom-light: #bd86de; $custom-dark: #000000;
JSON
{
"hex": "#9c51cf",
"rgb": {
"r": 156,
"g": 81,
"b": 207
},
"hsl": {
"h": 275.714,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.58163,
"c": 0.19252,
"h": 309.1
},
"luminance": 0.17458
}Semantic roles & 50–950 ramp
primary
#9C51CF
secondary
#B9D8A4
accent
#E04885
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83