#9A5DF3#9A5DF3
#9A5DF3 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.215 H 298.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9A5DF3 |
|---|---|
| RGB | rgb(154, 93, 243) |
| HSL | hsl(264, 86%, 66%) |
| HSV | hsv(264, 62%, 95%) |
| CMYK | cmyk(36.6%, 61.7%, 0%, 4.7%) |
| CIE-LAB | lab(53.13, 54.89, -66.46) |
| CIE-LCH | lch(53.13, 86.20, 309.55°) |
| OKLab | oklab(61.96% 0.1032 -0.189) |
| OKLCH | oklch(61.96% 0.215 298.6) |
| XYZ | xyz(33.4144, 21.1694, 87.1023) |
| Luminance | 0.2117 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.94
Lightish Purple
#A552E6
ΔE00 3.76
Purpley
#8756E4
ΔE00 4.57
Mediumpurple
#9370DB
ΔE00 5.90
Mediumslateblue
#7B68EE
ΔE00 6.11
Light Urple
#B36FF6
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A5DF3 #B6F35D
analogous
#5D6BF3 #9A5DF3 #E55DF3
triadic
#9A5DF3 #F39A5D #5DF39A
tetradic
#9A5DF3 #F35D6B #B6F35D #5DF3E5
square
#9A5DF3 #F35D6B #B6F35D #5DF3E5
split-complementary
#9A5DF3 #F3E55D #6BF35D
monochromatic
#5A0FC7 #7624EF #9A5DF3 #BE96F7 #E1CFFB
Accessibility & contrast
On white
4.01
#9A5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#9A5DF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A5DF3
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A5DF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A5DF3 | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#177DF0
Tritanopia (blue-blind)
#867EA0
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9a5df3; /* rgb */ color: rgb(154, 93, 243); /* oklch */ color: oklch(62.0% 0.215 298.6);
Tailwind
colors: {
custom: {
50: '#bd8ef8',
500: '#9a5df3',
950: '#000000',
},
}SCSS
$custom: #9a5df3; $custom-light: #bd8ef8; $custom-dark: #000000;
JSON
{
"hex": "#9a5df3",
"rgb": {
"r": 154,
"g": 93,
"b": 243
},
"hsl": {
"h": 264.4,
"s": 86.207,
"l": 65.882
},
"oklch": {
"l": 0.61962,
"c": 0.2154,
"h": 298.6
},
"luminance": 0.2117
}Semantic roles & 50–950 ramp
primary
#9A5DF3
secondary
#DBEFBD
accent
#E30388
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85