#9C5FF2#9C5FF2
#9C5FF2 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.4% C 0.212 H 299.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5FF2 |
|---|---|
| RGB | rgb(156, 95, 242) |
| HSL | hsl(265, 85%, 66%) |
| HSV | hsv(265, 61%, 95%) |
| CMYK | cmyk(35.5%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(53.67, 54.04, -65.03) |
| CIE-LCH | lch(53.67, 84.56, 309.72°) |
| OKLab | oklab(62.38% 0.1036 -0.1848) |
| OKLCH | oklch(62.38% 0.212 299.3) |
| XYZ | xyz(33.8256, 21.6628, 86.3864) |
| Luminance | 0.2166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.76
Lightish Purple
#A552E6
ΔE00 3.85
Purpley
#8756E4
ΔE00 5.08
Mediumpurple
#9370DB
ΔE00 5.51
Light Urple
#B36FF6
ΔE00 5.93
Mediumslateblue
#7B68EE
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5FF2 #B5F25F
analogous
#5F6BF2 #9C5FF2 #E55FF2
triadic
#9C5FF2 #F29C5F #5FF29C
tetradic
#9C5FF2 #F25F6B #B5F25F #5FF2E5
square
#9C5FF2 #F25F6B #B5F25F #5FF2E5
split-complementary
#9C5FF2 #F2E55F #6BF25F
monochromatic
#5C10C6 #7926ED #9C5FF2 #BF98F7 #E2D0FB
Accessibility & contrast
On white
3.94
#9C5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#9C5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5FF2
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5FF2 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#257FEF
Tritanopia (blue-blind)
#897FA0
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9c5ff2; /* rgb */ color: rgb(156, 95, 242); /* oklch */ color: oklch(62.4% 0.212 299.3);
Tailwind
colors: {
custom: {
50: '#be8ff7',
500: '#9c5ff2',
950: '#000000',
},
}SCSS
$custom: #9c5ff2; $custom-light: #be8ff7; $custom-dark: #000000;
JSON
{
"hex": "#9c5ff2",
"rgb": {
"r": 156,
"g": 95,
"b": 242
},
"hsl": {
"h": 264.898,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.62377,
"c": 0.21187,
"h": 299.3
},
"luminance": 0.21663
}Semantic roles & 50–950 ramp
primary
#9C5FF2
secondary
#DBEFBE
accent
#E10486
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85