#9B7AED#9B7AED
#9B7AED is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.2% C 0.167 H 294.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7AED |
|---|---|
| RGB | rgb(155, 122, 237) |
| HSL | hsl(257, 76%, 70%) |
| HSV | hsv(257, 49%, 93%) |
| CMYK | cmyk(34.6%, 48.5%, 0%, 7.1%) |
| CIE-LAB | lab(58.98, 37.78, -53.75) |
| CIE-LCH | lch(58.98, 65.70, 305.11°) |
| OKLab | oklab(66.18% 0.0696 -0.1517) |
| OKLCH | oklch(66.18% 0.167 294.6) |
| XYZ | xyz(35.7593, 27.0014, 83.4321) |
| Luminance | 0.2700 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.93
Periwinkle (survey)
#8E82FE
ΔE00 4.78
Light Urple
#B36FF6
ΔE00 5.36
Lavender Blue
#8B88F8
ΔE00 6.20
Perrywinkle
#8F8CE7
ΔE00 6.64
Light Purple
#BF77F6
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7AED #CCED7A
analogous
#7A93ED #9B7AED #D47AED
triadic
#9B7AED #ED9B7A #7AED9B
tetradic
#9B7AED #ED7A93 #CCED7A #7AEDD4
square
#9B7AED #ED7A93 #CCED7A #7AEDD4
split-complementary
#9B7AED #EDD47A #93ED7A
monochromatic
#501CD0 #7244E6 #9B7AED #C4B0F4 #EBE4FB
Accessibility & contrast
On white
3.28
#9B7AED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#9B7AED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7AED
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7AED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7AED | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518FF1
Deuteranopia (green-blind)
#578CEA
Tritanopia (blue-blind)
#8890A8
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9b7aed; /* rgb */ color: rgb(155, 122, 237); /* oklch */ color: oklch(66.2% 0.167 294.6);
Tailwind
colors: {
custom: {
50: '#bca1f3',
500: '#9b7aed',
950: '#000000',
},
}SCSS
$custom: #9b7aed; $custom-light: #bca1f3; $custom-dark: #000000;
JSON
{
"hex": "#9b7aed",
"rgb": {
"r": 155,
"g": 122,
"b": 237
},
"hsl": {
"h": 257.217,
"s": 76.159,
"l": 70.392
},
"oklch": {
"l": 0.66176,
"c": 0.16689,
"h": 294.6
},
"luminance": 0.27002
}Semantic roles & 50–950 ramp
primary
#9B7AED
secondary
#E8F1D2
accent
#D80D9E
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85