#9B5EEF#9B5EEF
#9B5EEF is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.9% C 0.210 H 299.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9B5EEF |
|---|---|
| RGB | rgb(155, 94, 239) |
| HSL | hsl(265, 82%, 65%) |
| HSV | hsv(265, 61%, 94%) |
| CMYK | cmyk(35.1%, 60.7%, 0%, 6.3%) |
| CIE-LAB | lab(53.17, 53.60, -64.16) |
| CIE-LCH | lch(53.17, 83.60, 309.88°) |
| OKLab | oklab(61.93% 0.1036 -0.1822) |
| OKLCH | oklch(61.93% 0.21 299.6) |
| XYZ | xyz(33.0964, 21.2057, 83.9941) |
| Luminance | 0.2121 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.84
Lightish Purple
#A552E6
ΔE00 3.50
Purpley
#8756E4
ΔE00 4.65
Mediumpurple
#9370DB
ΔE00 5.51
Light Urple
#B36FF6
ΔE00 6.28
Mediumslateblue
#7B68EE
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B5EEF #B2EF5E
analogous
#5E6AEF #9B5EEF #E35EEF
triadic
#9B5EEF #EF9B5E #5EEF9B
tetradic
#9B5EEF #EF5E6A #B2EF5E #5EEFE3
square
#9B5EEF #EF5E6A #B2EF5E #5EEFE3
split-complementary
#9B5EEF #EFE35E #6AEF5E
monochromatic
#5C13C0 #7826E9 #9B5EEF #BE96F5 #E0CDFA
Accessibility & contrast
On white
4.01
#9B5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#9B5EEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B5EEF
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B5EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B5EEF | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#897D9E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9b5eef; /* rgb */ color: rgb(155, 94, 239); /* oklch */ color: oklch(61.9% 0.210 299.6);
Tailwind
colors: {
custom: {
50: '#bd8ef5',
500: '#9b5eef',
950: '#000000',
},
}SCSS
$custom: #9b5eef; $custom-light: #bd8ef5; $custom-dark: #000000;
JSON
{
"hex": "#9b5eef",
"rgb": {
"r": 155,
"g": 94,
"b": 239
},
"hsl": {
"h": 265.241,
"s": 81.921,
"l": 65.294
},
"oklch": {
"l": 0.61932,
"c": 0.20965,
"h": 299.6
},
"luminance": 0.21206
}Semantic roles & 50–950 ramp
primary
#9B5EEF
secondary
#D8EDBC
accent
#DE0784
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85