#956EF7#956EF7
#956EF7 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.3% C 0.197 H 293.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #956EF7 |
|---|---|
| RGB | rgb(149, 110, 247) |
| HSL | hsl(257, 90%, 70%) |
| HSV | hsv(257, 55%, 97%) |
| CMYK | cmyk(39.7%, 55.5%, 0%, 3.1%) |
| CIE-LAB | lab(56.34, 45.72, -63.54) |
| CIE-LCH | lch(56.34, 78.28, 305.74°) |
| OKLab | oklab(64.27% 0.0774 -0.1806) |
| OKLCH | oklch(64.27% 0.197 293.2) |
| XYZ | xyz(34.7544, 24.2559, 90.8284) |
| Luminance | 0.2426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.19
Mediumslateblue
#7B68EE
ΔE00 4.99
Lighter Purple
#A55AF4
ΔE00 5.50
Light Urple
#B36FF6
ΔE00 5.62
Periwinkle (survey)
#8E82FE
ΔE00 6.07
Purpley
#8756E4
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956EF7 #D0F76E
analogous
#6E8CF7 #956EF7 #D96EF7
triadic
#956EF7 #F7956E #6EF795
tetradic
#956EF7 #F76E8C #D0F76E #6EF7D9
square
#956EF7 #F76E8C #D0F76E #6EF7D9
split-complementary
#956EF7 #F7D96E #8CF76E
monochromatic
#480CDE #6B34F4 #956EF7 #BFA8FA #EAE2FD
Accessibility & contrast
On white
3.59
#956EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#956EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956EF7
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956EF7 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2689FC
Deuteranopia (green-blind)
#3385F4
Tritanopia (blue-blind)
#7B8BA8
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #956ef7; /* rgb */ color: rgb(149, 110, 247); /* oklch */ color: oklch(64.3% 0.197 293.2);
Tailwind
colors: {
custom: {
50: '#b999fb',
500: '#956ef7',
950: '#000000',
},
}SCSS
$custom: #956ef7; $custom-light: #b999fb; $custom-dark: #000000;
JSON
{
"hex": "#956ef7",
"rgb": {
"r": 149,
"g": 110,
"b": 247
},
"hsl": {
"h": 257.08,
"s": 89.542,
"l": 70
},
"oklch": {
"l": 0.64274,
"c": 0.19651,
"h": 293.2
},
"luminance": 0.24257
}Semantic roles & 50–950 ramp
primary
#956EF7
secondary
#E9F4CD
accent
#E600A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85