#9D5FF2#9D5FF2
#9D5FF2 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.5% C 0.212 H 299.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5FF2 |
|---|---|
| RGB | rgb(157, 95, 242) |
| HSL | hsl(265, 85%, 66%) |
| HSV | hsv(265, 61%, 95%) |
| CMYK | cmyk(35.1%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(53.77, 54.25, -64.86) |
| CIE-LCH | lch(53.77, 84.56, 309.91°) |
| OKLab | oklab(62.48% 0.1049 -0.1842) |
| OKLCH | oklch(62.48% 0.212 299.7) |
| XYZ | xyz(34.0199, 21.7630, 86.3955) |
| Luminance | 0.2176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.61
Lightish Purple
#A552E6
ΔE00 3.78
Purpley
#8756E4
ΔE00 5.22
Mediumpurple
#9370DB
ΔE00 5.53
Light Urple
#B36FF6
ΔE00 5.79
Mediumslateblue
#7B68EE
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5FF2 #B4F25F
analogous
#5F6AF2 #9D5FF2 #E65FF2
triadic
#9D5FF2 #F29D5F #5FF29D
tetradic
#9D5FF2 #F25F6A #B4F25F #5FF2E6
square
#9D5FF2 #F25F6A #B4F25F #5FF2E6
split-complementary
#9D5FF2 #F2E65F #6AF25F
monochromatic
#5D10C6 #7A26ED #9D5FF2 #C098F7 #E2D0FB
Accessibility & contrast
On white
3.92
#9D5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#9D5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D5FF2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D5FF2 | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#277FEF
Tritanopia (blue-blind)
#8A7FA0
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9d5ff2; /* rgb */ color: rgb(157, 95, 242); /* oklch */ color: oklch(62.5% 0.212 299.7);
Tailwind
colors: {
custom: {
50: '#bf8ff7',
500: '#9d5ff2',
950: '#000000',
},
}SCSS
$custom: #9d5ff2; $custom-light: #bf8ff7; $custom-dark: #000000;
JSON
{
"hex": "#9d5ff2",
"rgb": {
"r": 157,
"g": 95,
"b": 242
},
"hsl": {
"h": 265.306,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.62479,
"c": 0.21201,
"h": 299.7
},
"luminance": 0.21763
}Semantic roles & 50–950 ramp
primary
#9D5FF2
secondary
#DAEFBE
accent
#E10484
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85