#9C5CE9#9C5CE9
#9C5CE9 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.206 H 301.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5CE9 |
|---|---|
| RGB | rgb(156, 92, 233) |
| HSL | hsl(267, 76%, 64%) |
| HSV | hsv(267, 61%, 91%) |
| CMYK | cmyk(33%, 60.5%, 0%, 8.6%) |
| CIE-LAB | lab(52.51, 53.39, -61.85) |
| CIE-LCH | lch(52.51, 81.71, 310.80°) |
| OKLab | oklab(61.36% 0.1075 -0.1754) |
| OKLCH | oklch(61.36% 0.206 301.5) |
| XYZ | xyz(32.2420, 20.6053, 79.3536) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.00
Lightish Purple
#A552E6
ΔE00 2.63
Purpley
#8756E4
ΔE00 4.39
Mediumpurple
#9370DB
ΔE00 5.70
Light Urple
#B36FF6
ΔE00 6.67
Amethyst
#9B5FC0
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5CE9 #A9E95C
analogous
#5C62E9 #9C5CE9 #E25CE9
triadic
#9C5CE9 #E99C5C #5CE99C
tetradic
#9C5CE9 #E95C62 #A9E95C #5CE9E2
square
#9C5CE9 #E95C62 #A9E95C #5CE9E2
split-complementary
#9C5CE9 #E9E25C #62E95C
monochromatic
#5E18B3 #7B26E2 #9C5CE9 #BD92F0 #DDC8F8
Accessibility & contrast
On white
4.10
#9C5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#9C5CE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5CE9
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5CE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5CE9 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#8C7A9A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9c5ce9; /* rgb */ color: rgb(156, 92, 233); /* oklch */ color: oklch(61.4% 0.206 301.5);
Tailwind
colors: {
custom: {
50: '#be8df1',
500: '#9c5ce9',
950: '#000000',
},
}SCSS
$custom: #9c5ce9; $custom-light: #be8df1; $custom-dark: #000000;
JSON
{
"hex": "#9c5ce9",
"rgb": {
"r": 156,
"g": 92,
"b": 233
},
"hsl": {
"h": 267.234,
"s": 76.216,
"l": 63.725
},
"oklch": {
"l": 0.61355,
"c": 0.20575,
"h": 301.5
},
"luminance": 0.20605
}Semantic roles & 50–950 ramp
primary
#9C5CE9
secondary
#D3E9B8
accent
#D80D7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85