#9A5FF0#9A5FF0
#9A5FF0 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.209 H 298.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9A5FF0 |
|---|---|
| RGB | rgb(154, 95, 240) |
| HSL | hsl(264, 83%, 66%) |
| HSV | hsv(264, 60%, 94%) |
| CMYK | cmyk(35.8%, 60.4%, 0%, 5.9%) |
| CIE-LAB | lab(53.33, 53.11, -64.48) |
| CIE-LCH | lch(53.33, 83.54, 309.48°) |
| OKLab | oklab(62.04% 0.1012 -0.1832) |
| OKLCH | oklch(62.04% 0.209 298.9) |
| XYZ | xyz(33.1429, 21.3453, 84.7951) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.05
Lightish Purple
#A552E6
ΔE00 3.84
Purpley
#8756E4
ΔE00 4.70
Mediumpurple
#9370DB
ΔE00 5.36
Mediumslateblue
#7B68EE
ΔE00 6.01
Light Urple
#B36FF6
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A5FF0 #B5F05F
analogous
#5F6CF0 #9A5FF0 #E35FF0
triadic
#9A5FF0 #F09A5F #5FF09A
tetradic
#9A5FF0 #F05F6C #B5F05F #5FF0E3
square
#9A5FF0 #F05F6C #B5F05F #5FF0E3
split-complementary
#9A5FF0 #F0E35F #6CF05F
monochromatic
#5A12C2 #7727EB #9A5FF0 #BD97F5 #E1CFFA
Accessibility & contrast
On white
3.99
#9A5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#9A5FF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A5FF0
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A5FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A5FF0 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#257EED
Tritanopia (blue-blind)
#877E9F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9a5ff0; /* rgb */ color: rgb(154, 95, 240); /* oklch */ color: oklch(62.0% 0.209 298.9);
Tailwind
colors: {
custom: {
50: '#bd8ff6',
500: '#9a5ff0',
950: '#000000',
},
}SCSS
$custom: #9a5ff0; $custom-light: #bd8ff6; $custom-dark: #000000;
JSON
{
"hex": "#9a5ff0",
"rgb": {
"r": 154,
"g": 95,
"b": 240
},
"hsl": {
"h": 264.414,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.62039,
"c": 0.20929,
"h": 298.9
},
"luminance": 0.21346
}Semantic roles & 50–950 ramp
primary
#9A5FF0
secondary
#DAEEBD
accent
#DF0687
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85