#9B5BF0#9B5BF0
#9B5BF0 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.215 H 299.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9B5BF0 |
|---|---|
| RGB | rgb(155, 91, 240) |
| HSL | hsl(266, 83%, 65%) |
| HSV | hsv(266, 62%, 94%) |
| CMYK | cmyk(35.4%, 62.1%, 0%, 5.9%) |
| CIE-LAB | lab(52.67, 55.39, -65.54) |
| CIE-LCH | lch(52.67, 85.81, 310.20°) |
| OKLab | oklab(61.58% 0.107 -0.1863) |
| OKLCH | oklch(61.58% 0.215 299.9) |
| XYZ | xyz(32.9830, 20.7417, 84.6870) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.77
Lightish Purple
#A552E6
ΔE00 3.10
Purpley
#8756E4
ΔE00 4.30
Mediumpurple
#9370DB
ΔE00 6.13
Mediumslateblue
#7B68EE
ΔE00 6.53
Light Urple
#B36FF6
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B5BF0 #B0F05B
analogous
#5B65F0 #9B5BF0 #E65BF0
triadic
#9B5BF0 #F09B5B #5BF09B
tetradic
#9B5BF0 #F05B65 #B0F05B #5BF0E6
square
#9B5BF0 #F05B65 #B0F05B #5BF0E6
split-complementary
#9B5BF0 #F0E65B #65F05B
monochromatic
#5C11BF #7923EB #9B5BF0 #BD93F5 #DFCBFA
Accessibility & contrast
On white
4.08
#9B5BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#9B5BF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B5BF0
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B5BF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B5BF0 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#1C7DED
Tritanopia (blue-blind)
#887C9D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9b5bf0; /* rgb */ color: rgb(155, 91, 240); /* oklch */ color: oklch(61.6% 0.215 299.9);
Tailwind
colors: {
custom: {
50: '#be8df6',
500: '#9b5bf0',
950: '#000000',
},
}SCSS
$custom: #9b5bf0; $custom-light: #be8df6; $custom-dark: #000000;
JSON
{
"hex": "#9b5bf0",
"rgb": {
"r": 155,
"g": 91,
"b": 240
},
"hsl": {
"h": 265.772,
"s": 83.24,
"l": 64.902
},
"oklch": {
"l": 0.61584,
"c": 0.21482,
"h": 299.9
},
"luminance": 0.20742
}Semantic roles & 50–950 ramp
primary
#9B5BF0
secondary
#D7EDBA
accent
#E00682
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85