#9B7EF5#9B7EF5
#9B7EF5 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.171 H 292.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7EF5 |
|---|---|
| RGB | rgb(155, 126, 245) |
| HSL | hsl(255, 86%, 73%) |
| HSV | hsv(255, 49%, 96%) |
| CMYK | cmyk(36.7%, 48.6%, 0%, 3.9%) |
| CIE-LAB | lab(60.32, 37.60, -56.03) |
| CIE-LCH | lch(60.32, 67.48, 303.86°) |
| OKLab | oklab(67.32% 0.0653 -0.1584) |
| OKLCH | oklch(67.32% 0.171 292.4) |
| XYZ | xyz(37.4555, 28.4820, 89.8926) |
| Luminance | 0.2848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.45
Lavender Blue
#8B88F8
ΔE00 4.94
Mediumpurple
#9370DB
ΔE00 5.47
Perrywinkle
#8F8CE7
ΔE00 5.78
Light Urple
#B36FF6
ΔE00 6.13
Light Purple
#BF77F6
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7EF5 #D8F57E
analogous
#7E9CF5 #9B7EF5 #D77EF5
triadic
#9B7EF5 #F59B7E #7EF59B
tetradic
#9B7EF5 #F57E9C #D8F57E #7EF5D7
square
#9B7EF5 #F57E9C #D8F57E #7EF5D7
split-complementary
#9B7EF5 #F5D77E #9CF57E
monochromatic
#4612E7 #6F45F1 #9B7EF5 #C7B7F9 #E9E3FD
Accessibility & contrast
On white
3.14
#9B7EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#9B7EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7EF5
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7EF5 | 1.00 | 3.14 | 6.70 | 6.70 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#8496AE
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9b7ef5; /* rgb */ color: rgb(155, 126, 245); /* oklch */ color: oklch(67.3% 0.171 292.4);
Tailwind
colors: {
custom: {
50: '#bca4f9',
500: '#9b7ef5',
950: '#000000',
},
}SCSS
$custom: #9b7ef5; $custom-light: #bca4f9; $custom-dark: #000000;
JSON
{
"hex": "#9b7ef5",
"rgb": {
"r": 155,
"g": 126,
"b": 245
},
"hsl": {
"h": 254.622,
"s": 85.612,
"l": 72.745
},
"oklch": {
"l": 0.67323,
"c": 0.17132,
"h": 292.4
},
"luminance": 0.28483
}Semantic roles & 50–950 ramp
primary
#9B7EF5
secondary
#EDF5D6
accent
#E203AC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85