#9C5FDA#9C5FDA
#9C5FDA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.184 H 304.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5FDA |
|---|---|
| RGB | rgb(156, 95, 218) |
| HSL | hsl(270, 62%, 61%) |
| HSV | hsv(270, 56%, 85%) |
| CMYK | cmyk(28.4%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(52.19, 48.22, -53.91) |
| CIE-LCH | lch(52.19, 72.33, 311.81°) |
| OKLab | oklab(60.83% 0.104 -0.1521) |
| OKLCH | oklch(60.83% 0.184 304.4) |
| XYZ | xyz(30.4546, 20.3144, 68.6327) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.26
Lighter Purple
#A55AF4
ΔE00 3.83
Amethyst
#9B5FC0
ΔE00 4.48
Mediumpurple
#9370DB
ΔE00 5.03
Purpley
#8756E4
ΔE00 5.24
Deep Lavender
#8D5EB7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5FDA #9DDA5F
analogous
#5F60DA #9C5FDA #DA5FDA
triadic
#9C5FDA #DA9C5F #5FDA9C
tetradic
#9C5FDA #DA5F60 #9DDA5F #5FDADA
square
#9C5FDA #DA5F60 #9DDA5F #5FDADA
split-complementary
#9C5FDA #DADA5F #60DA5F
monochromatic
#5F249B #7D2FCD #9C5FDA #BB91E5 #DAC2F1
Accessibility & contrast
On white
4.15
#9C5FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#9C5FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5FDA
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5FDA | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E7BDE
Deuteranopia (green-blind)
#467DD7
Tritanopia (blue-blind)
#917793
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9c5fda; /* rgb */ color: rgb(156, 95, 218); /* oklch */ color: oklch(60.8% 0.184 304.4);
Tailwind
colors: {
custom: {
50: '#bd8fe6',
500: '#9c5fda',
950: '#000000',
},
}SCSS
$custom: #9c5fda; $custom-light: #bd8fe6; $custom-dark: #000000;
JSON
{
"hex": "#9c5fda",
"rgb": {
"r": 156,
"g": 95,
"b": 218
},
"hsl": {
"h": 269.756,
"s": 62.437,
"l": 61.373
},
"oklch": {
"l": 0.60826,
"c": 0.18429,
"h": 304.4
},
"luminance": 0.20314
}Semantic roles & 50–950 ramp
primary
#9C5FDA
secondary
#CBE1B3
accent
#CA1B73
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84