#917BEE#917BEE
#917BEE is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.5% C 0.166 H 289.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #917BEE |
|---|---|
| RGB | rgb(145, 123, 238) |
| HSL | hsl(251, 77%, 71%) |
| HSV | hsv(251, 48%, 93%) |
| CMYK | cmyk(39.1%, 48.3%, 0%, 6.7%) |
| CIE-LAB | lab(58.38, 35.01, -55.31) |
| CIE-LCH | lch(58.38, 65.46, 302.33°) |
| OKLab | oklab(65.53% 0.0564 -0.1565) |
| OKLCH | oklch(65.53% 0.166 289.8) |
| XYZ | xyz(34.1884, 26.3577, 84.1586) |
| Luminance | 0.2636 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.27
Mediumpurple
#9370DB
ΔE00 4.51
Lavender Blue
#8B88F8
ΔE00 4.65
Perrywinkle
#8F8CE7
ΔE00 5.54
Mediumslateblue
#7B68EE
ΔE00 6.52
Cornflower
#6A79F7
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917BEE #D8EE7B
analogous
#7B9EEE #917BEE #CA7BEE
triadic
#917BEE #EE917B #7BEE91
tetradic
#917BEE #EE7B9E #D8EE7B #7BEECA
square
#917BEE #EE7B9E #D8EE7B #7BEECA
split-complementary
#917BEE #EECA7B #9EEE7B
monochromatic
#3E1BD3 #6445E7 #917BEE #BEB1F5 #E8E4FC
Accessibility & contrast
On white
3.35
#917BEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#917BEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917BEE
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917BEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917BEE | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8FF2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#7892A9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #917bee; /* rgb */ color: rgb(145, 123, 238); /* oklch */ color: oklch(65.5% 0.166 289.8);
Tailwind
colors: {
custom: {
50: '#b5a1f4',
500: '#917bee',
950: '#000000',
},
}SCSS
$custom: #917bee; $custom-light: #b5a1f4; $custom-dark: #000000;
JSON
{
"hex": "#917bee",
"rgb": {
"r": 145,
"g": 123,
"b": 238
},
"hsl": {
"h": 251.478,
"s": 77.181,
"l": 70.784
},
"oklch": {
"l": 0.65531,
"c": 0.1664,
"h": 289.8
},
"luminance": 0.26359
}Semantic roles & 50–950 ramp
primary
#917BEE
secondary
#ECF2D3
accent
#D90CB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F17
muted
#817E85