#956EF3#956EF3
#956EF3 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.0% C 0.192 H 293.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #956EF3 |
|---|---|
| RGB | rgb(149, 110, 243) |
| HSL | hsl(258, 85%, 69%) |
| HSV | hsv(258, 55%, 95%) |
| CMYK | cmyk(38.7%, 54.7%, 0%, 4.7%) |
| CIE-LAB | lab(56.10, 44.66, -61.71) |
| CIE-LCH | lch(56.10, 76.18, 305.89°) |
| OKLab | oklab(64.02% 0.0773 -0.1752) |
| OKLCH | oklch(64.02% 0.192 293.8) |
| XYZ | xyz(34.1437, 24.0117, 87.6124) |
| Luminance | 0.2401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.65
Mediumslateblue
#7B68EE
ΔE00 4.95
Lighter Purple
#A55AF4
ΔE00 5.41
Light Urple
#B36FF6
ΔE00 5.54
Periwinkle (survey)
#8E82FE
ΔE00 6.26
Purpley
#8756E4
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956EF3 #CCF36E
analogous
#6E8AF3 #956EF3 #D86EF3
triadic
#956EF3 #F3956E #6EF395
tetradic
#956EF3 #F36E8A #CCF36E #6EF3D8
square
#956EF3 #F36E8A #CCF36E #6EF3D8
split-complementary
#956EF3 #F3D86E #8AF36E
monochromatic
#4B12D5 #6C35EE #956EF3 #BEA7F8 #E8DFFC
Accessibility & contrast
On white
3.62
#956EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#956EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956EF3
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956EF3 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D88F7
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#7D8AA6
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #956ef3; /* rgb */ color: rgb(149, 110, 243); /* oklch */ color: oklch(64.0% 0.192 293.8);
Tailwind
colors: {
custom: {
50: '#b999f8',
500: '#956ef3',
950: '#000000',
},
}SCSS
$custom: #956ef3; $custom-light: #b999f8; $custom-dark: #000000;
JSON
{
"hex": "#956ef3",
"rgb": {
"r": 149,
"g": 110,
"b": 243
},
"hsl": {
"h": 257.594,
"s": 84.713,
"l": 69.216
},
"oklch": {
"l": 0.64016,
"c": 0.19154,
"h": 293.8
},
"luminance": 0.24012
}Semantic roles & 50–950 ramp
primary
#956EF3
secondary
#E6F2CB
accent
#E104A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85