#937BEF#937BEF
#937BEF is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.8% C 0.168 H 290.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #937BEF |
|---|---|
| RGB | rgb(147, 123, 239) |
| HSL | hsl(252, 78%, 71%) |
| HSV | hsv(252, 49%, 94%) |
| CMYK | cmyk(38.5%, 48.5%, 0%, 6.3%) |
| CIE-LAB | lab(58.60, 35.76, -55.49) |
| CIE-LCH | lch(58.60, 66.02, 302.80°) |
| OKLab | oklab(65.76% 0.0589 -0.157) |
| OKLCH | oklch(65.76% 0.168 290.6) |
| XYZ | xyz(34.6913, 26.6000, 84.9511) |
| Luminance | 0.2660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.35
Mediumpurple
#9370DB
ΔE00 4.48
Lavender Blue
#8B88F8
ΔE00 4.81
Perrywinkle
#8F8CE7
ΔE00 5.69
Mediumslateblue
#7B68EE
ΔE00 6.71
Light Urple
#B36FF6
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#937BEF #D7EF7B
analogous
#7B9DEF #937BEF #CD7BEF
triadic
#937BEF #EF937B #7BEF93
tetradic
#937BEF #EF7B9D #D7EF7B #7BEFCD
square
#937BEF #EF7B9D #D7EF7B #7BEFCD
split-complementary
#937BEF #EFCD7B #9DEF7B
monochromatic
#411AD6 #6644E8 #937BEF #C0B2F6 #E9E4FC
Accessibility & contrast
On white
3.32
#937BEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#937BEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #937BEF
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##937BEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##937BEF | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#7B92AA
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #937bef; /* rgb */ color: rgb(147, 123, 239); /* oklch */ color: oklch(65.8% 0.168 290.6);
Tailwind
colors: {
custom: {
50: '#b7a1f5',
500: '#937bef',
950: '#000000',
},
}SCSS
$custom: #937bef; $custom-light: #b7a1f5; $custom-dark: #000000;
JSON
{
"hex": "#937bef",
"rgb": {
"r": 147,
"g": 123,
"b": 239
},
"hsl": {
"h": 252.414,
"s": 78.378,
"l": 70.98
},
"oklch": {
"l": 0.65761,
"c": 0.16771,
"h": 290.6
},
"luminance": 0.26601
}Semantic roles & 50–950 ramp
primary
#937BEF
secondary
#ECF2D3
accent
#DB0BB0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120F17
muted
#817E85