#9A5EEF#9A5EEF
#9A5EEF is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.8% C 0.209 H 299.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9A5EEF |
|---|---|
| RGB | rgb(154, 94, 239) |
| HSL | hsl(265, 82%, 65%) |
| HSV | hsv(265, 61%, 94%) |
| CMYK | cmyk(35.6%, 60.7%, 0%, 6.3%) |
| CIE-LAB | lab(53.07, 53.38, -64.34) |
| CIE-LCH | lch(53.07, 83.60, 309.68°) |
| OKLab | oklab(61.83% 0.1023 -0.1828) |
| OKLCH | oklch(61.83% 0.21 299.2) |
| XYZ | xyz(32.9053, 21.1071, 83.9851) |
| Luminance | 0.2111 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.99
Lightish Purple
#A552E6
ΔE00 3.59
Purpley
#8756E4
ΔE00 4.50
Mediumpurple
#9370DB
ΔE00 5.49
Mediumslateblue
#7B68EE
ΔE00 6.13
Light Urple
#B36FF6
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A5EEF #B3EF5E
analogous
#5E6AEF #9A5EEF #E35EEF
triadic
#9A5EEF #EF9A5E #5EEF9A
tetradic
#9A5EEF #EF5E6A #B3EF5E #5EEFE3
square
#9A5EEF #EF5E6A #B3EF5E #5EEFE3
split-complementary
#9A5EEF #EFE35E #6AEF5E
monochromatic
#5A13C0 #7726E9 #9A5EEF #BD96F5 #E0CDFA
Accessibility & contrast
On white
4.02
#9A5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#9A5EEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A5EEF
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A5EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A5EEF | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#257DEC
Tritanopia (blue-blind)
#877D9E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9a5eef; /* rgb */ color: rgb(154, 94, 239); /* oklch */ color: oklch(61.8% 0.209 299.2);
Tailwind
colors: {
custom: {
50: '#bd8ef5',
500: '#9a5eef',
950: '#000000',
},
}SCSS
$custom: #9a5eef; $custom-light: #bd8ef5; $custom-dark: #000000;
JSON
{
"hex": "#9a5eef",
"rgb": {
"r": 154,
"g": 94,
"b": 239
},
"hsl": {
"h": 264.828,
"s": 81.921,
"l": 65.294
},
"oklch": {
"l": 0.6183,
"c": 0.2095,
"h": 299.2
},
"luminance": 0.21107
}Semantic roles & 50–950 ramp
primary
#9A5EEF
secondary
#D9EDBC
accent
#DE0785
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85