#9C5FE7#9C5FE7
#9C5FE7 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.7% C 0.199 H 301.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5FE7 |
|---|---|
| RGB | rgb(156, 95, 231) |
| HSL | hsl(267, 74%, 64%) |
| HSV | hsv(267, 59%, 91%) |
| CMYK | cmyk(32.5%, 58.9%, 0%, 9.4%) |
| CIE-LAB | lab(52.97, 51.34, -59.99) |
| CIE-LCH | lch(52.97, 78.96, 310.56°) |
| OKLab | oklab(61.65% 0.104 -0.17) |
| OKLCH | oklch(61.65% 0.199 301.5) |
| XYZ | xyz(32.2229, 21.0217, 77.9458) |
| Luminance | 0.2102 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.26
Lightish Purple
#A552E6
ΔE00 3.13
Purpley
#8756E4
ΔE00 4.79
Mediumpurple
#9370DB
ΔE00 5.01
Light Urple
#B36FF6
ΔE00 6.20
Amethyst
#9B5FC0
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5FE7 #AAE75F
analogous
#5F66E7 #9C5FE7 #E05FE7
triadic
#9C5FE7 #E79C5F #5FE79C
tetradic
#9C5FE7 #E75F66 #AAE75F #5FE7E0
square
#9C5FE7 #E75F66 #AAE75F #5FE7E0
split-complementary
#9C5FE7 #E7E05F #66E75F
monochromatic
#5E1BB1 #7B2ADF #9C5FE7 #BD94EF #DEC9F7
Accessibility & contrast
On white
4.04
#9C5FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#9C5FE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5FE7
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5FE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5FE7 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#157EEB
Deuteranopia (green-blind)
#377EE4
Tritanopia (blue-blind)
#8D7B9A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9c5fe7; /* rgb */ color: rgb(156, 95, 231); /* oklch */ color: oklch(61.7% 0.199 301.5);
Tailwind
colors: {
custom: {
50: '#bd8fef',
500: '#9c5fe7',
950: '#000000',
},
}SCSS
$custom: #9c5fe7; $custom-light: #bd8fef; $custom-dark: #000000;
JSON
{
"hex": "#9c5fe7",
"rgb": {
"r": 156,
"g": 95,
"b": 231
},
"hsl": {
"h": 266.912,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.6165,
"c": 0.19928,
"h": 301.5
},
"luminance": 0.21022
}Semantic roles & 50–950 ramp
primary
#9C5FE7
secondary
#D3E9B9
accent
#D60F7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120D17
muted
#817D85