#9C5BE3#9C5BE3
#9C5BE3 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.200 H 302.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5BE3 |
|---|---|
| RGB | rgb(156, 91, 227) |
| HSL | hsl(269, 71%, 62%) |
| HSV | hsv(269, 60%, 89%) |
| CMYK | cmyk(31.3%, 59.9%, 0%, 11%) |
| CIE-LAB | lab(51.95, 52.46, -59.39) |
| CIE-LCH | lch(51.95, 79.24, 311.45°) |
| OKLab | oklab(60.82% 0.1089 -0.1682) |
| OKLCH | oklch(60.82% 0.2 302.9) |
| XYZ | xyz(31.3133, 20.0961, 74.8874) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.25
Lighter Purple
#A55AF4
ΔE00 2.66
Purpley
#8756E4
ΔE00 4.32
Mediumpurple
#9370DB
ΔE00 5.83
Amethyst
#9B5FC0
ΔE00 5.88
Mediumorchid
#BA55D3
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5BE3 #A2E35B
analogous
#5B5EE3 #9C5BE3 #E05BE3
triadic
#9C5BE3 #E39C5B #5BE39C
tetradic
#9C5BE3 #E35B5E #A2E35B #5BE3E0
square
#9C5BE3 #E35B5E #A2E35B #5BE3E0
split-complementary
#9C5BE3 #E3E05B #5EE35B
monochromatic
#5F1DA7 #7C27DA #9C5BE3 #BC8FEC #DBC4F5
Accessibility & contrast
On white
4.18
#9C5BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#9C5BE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5BE3
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5BE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5BE3 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B7BE7
Deuteranopia (green-blind)
#367CE0
Tritanopia (blue-blind)
#8E7797
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9c5be3; /* rgb */ color: rgb(156, 91, 227); /* oklch */ color: oklch(60.8% 0.200 302.9);
Tailwind
colors: {
custom: {
50: '#bd8cec',
500: '#9c5be3',
950: '#000000',
},
}SCSS
$custom: #9c5be3; $custom-light: #bd8cec; $custom-dark: #000000;
JSON
{
"hex": "#9c5be3",
"rgb": {
"r": 156,
"g": 91,
"b": 227
},
"hsl": {
"h": 268.676,
"s": 70.833,
"l": 62.353
},
"oklch": {
"l": 0.60821,
"c": 0.20036,
"h": 302.9
},
"luminance": 0.20096
}Semantic roles & 50–950 ramp
primary
#9C5BE3
secondary
#CEE6B4
accent
#D31377
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84