#9B5FED#9B5FED
#9B5FED is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.9% C 0.206 H 299.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9B5FED |
|---|---|
| RGB | rgb(155, 95, 237) |
| HSL | hsl(265, 80%, 65%) |
| HSV | hsv(265, 60%, 93%) |
| CMYK | cmyk(34.6%, 59.9%, 0%, 7.1%) |
| CIE-LAB | lab(53.24, 52.59, -62.93) |
| CIE-LCH | lch(53.24, 82.01, 309.88°) |
| OKLab | oklab(61.94% 0.1026 -0.1786) |
| OKLCH | oklch(61.94% 0.206 299.9) |
| XYZ | xyz(32.8921, 21.2671, 82.4764) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.97
Lightish Purple
#A552E6
ΔE00 3.53
Purpley
#8756E4
ΔE00 4.73
Mediumpurple
#9370DB
ΔE00 5.21
Light Urple
#B36FF6
ΔE00 6.15
Mediumslateblue
#7B68EE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B5FED #B1ED5F
analogous
#5F6AED #9B5FED #E25FED
triadic
#9B5FED #ED9B5F #5FED9B
tetradic
#9B5FED #ED5F6A #B1ED5F #5FEDE2
square
#9B5FED #ED5F6A #B1ED5F #5FEDE2
split-complementary
#9B5FED #EDE25F #6AED5F
monochromatic
#5C15BC #7928E7 #9B5FED #BD96F3 #E0CDF9
Accessibility & contrast
On white
4.00
#9B5FED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#9B5FED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B5FED
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B5FED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B5FED | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#2D7EEA
Tritanopia (blue-blind)
#897D9D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9b5fed; /* rgb */ color: rgb(155, 95, 237); /* oklch */ color: oklch(61.9% 0.206 299.9);
Tailwind
colors: {
custom: {
50: '#bd8ff4',
500: '#9b5fed',
950: '#000000',
},
}SCSS
$custom: #9b5fed; $custom-light: #bd8ff4; $custom-dark: #000000;
JSON
{
"hex": "#9b5fed",
"rgb": {
"r": 155,
"g": 95,
"b": 237
},
"hsl": {
"h": 265.352,
"s": 79.775,
"l": 65.098
},
"oklch": {
"l": 0.6194,
"c": 0.20599,
"h": 299.9
},
"luminance": 0.21267
}Semantic roles & 50–950 ramp
primary
#9B5FED
secondary
#D8ECBC
accent
#DC0983
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85