#9D7BEE#9D7BEE
#9D7BEE is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.6% C 0.167 H 295.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7BEE |
|---|---|
| RGB | rgb(157, 123, 238) |
| HSL | hsl(258, 77%, 71%) |
| HSV | hsv(258, 48%, 93%) |
| CMYK | cmyk(34%, 48.3%, 0%, 6.7%) |
| CIE-LAB | lab(59.44, 37.98, -53.55) |
| CIE-LCH | lch(59.44, 65.65, 305.34°) |
| OKLab | oklab(66.58% 0.0708 -0.1511) |
| OKLCH | oklch(66.58% 0.167 295.1) |
| XYZ | xyz(36.4163, 27.5064, 84.2630) |
| Luminance | 0.2751 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.28
Periwinkle (survey)
#8E82FE
ΔE00 4.83
Light Urple
#B36FF6
ΔE00 5.19
Lavender Blue
#8B88F8
ΔE00 6.23
Light Purple
#BF77F6
ΔE00 6.51
Perrywinkle
#8F8CE7
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7BEE #CCEE7B
analogous
#7B92EE #9D7BEE #D67BEE
triadic
#9D7BEE #EE9D7B #7BEE9D
tetradic
#9D7BEE #EE7B92 #CCEE7B #7BEED6
square
#9D7BEE #EE7B92 #CCEE7B #7BEED6
split-complementary
#9D7BEE #EED67B #92EE7B
monochromatic
#521BD3 #7545E7 #9D7BEE #C5B1F5 #EBE4FC
Accessibility & contrast
On white
3.23
#9D7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#9D7BEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7BEE
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7BEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7BEE | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#598DEB
Tritanopia (blue-blind)
#8A91A9
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9d7bee; /* rgb */ color: rgb(157, 123, 238); /* oklch */ color: oklch(66.6% 0.167 295.1);
Tailwind
colors: {
custom: {
50: '#bda2f4',
500: '#9d7bee',
950: '#000000',
},
}SCSS
$custom: #9d7bee; $custom-light: #bda2f4; $custom-dark: #000000;
JSON
{
"hex": "#9d7bee",
"rgb": {
"r": 157,
"g": 123,
"b": 238
},
"hsl": {
"h": 257.739,
"s": 77.181,
"l": 70.784
},
"oklch": {
"l": 0.66584,
"c": 0.16685,
"h": 295.1
},
"luminance": 0.27507
}Semantic roles & 50–950 ramp
primary
#9D7BEE
secondary
#E9F2D3
accent
#D90C9D
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85