#937DFD#937DFD
#937DFD is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.183 H 288.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #937DFD |
|---|---|
| RGB | rgb(147, 125, 253) |
| HSL | hsl(250, 97%, 74%) |
| HSV | hsv(250, 51%, 99%) |
| CMYK | cmyk(41.9%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(59.85, 38.43, -61.23) |
| CIE-LCH | lch(59.85, 72.29, 302.11°) |
| OKLab | oklab(66.95% 0.0576 -0.1738) |
| OKLCH | oklch(66.95% 0.183 288.3) |
| XYZ | xyz(37.0909, 27.9608, 96.3522) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.90
Lavender Blue
#8B88F8
ΔE00 3.97
Perrywinkle
#8F8CE7
ΔE00 5.85
Mediumpurple
#9370DB
ΔE00 6.36
Cornflower
#6A79F7
ΔE00 7.16
Mediumslateblue
#7B68EE
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#937DFD #E7FD7D
analogous
#7DA7FD #937DFD #D37DFD
triadic
#937DFD #FD937D #7DFD93
tetradic
#937DFD #FD7DA7 #E7FD7D #7DFDD3
square
#937DFD #FD7DA7 #E7FD7D #7DFDD3
split-complementary
#937DFD #FDD37D #A7FD7D
monochromatic
#2F04FB #6141FC #937DFD #C5B9FE #E6E1FF
Accessibility & contrast
On white
3.19
#937DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#937DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #937DFD
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##937DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##937DFD | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#7498B1
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #937dfd; /* rgb */ color: rgb(147, 125, 253); /* oklch */ color: oklch(67.0% 0.183 288.3);
Tailwind
colors: {
custom: {
50: '#b8a3ff',
500: '#937dfd',
950: '#000000',
},
}SCSS
$custom: #937dfd; $custom-light: #b8a3ff; $custom-dark: #000000;
JSON
{
"hex": "#937dfd",
"rgb": {
"r": 147,
"g": 125,
"b": 253
},
"hsl": {
"h": 250.313,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.66952,
"c": 0.18315,
"h": 288.3
},
"luminance": 0.27962
}Semantic roles & 50–950 ramp
primary
#937DFD
secondary
#F1F7D4
accent
#E600BE
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86