#956EF6#956EF6
#956EF6 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.2% C 0.195 H 293.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #956EF6 |
|---|---|
| RGB | rgb(149, 110, 246) |
| HSL | hsl(257, 88%, 70%) |
| HSV | hsv(257, 55%, 96%) |
| CMYK | cmyk(39.4%, 55.3%, 0%, 3.5%) |
| CIE-LAB | lab(56.28, 45.45, -63.09) |
| CIE-LCH | lch(56.28, 77.75, 305.77°) |
| OKLab | oklab(64.21% 0.0774 -0.1793) |
| OKLCH | oklch(64.21% 0.195 293.3) |
| XYZ | xyz(34.6005, 24.1944, 90.0179) |
| Luminance | 0.2419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.06
Mediumslateblue
#7B68EE
ΔE00 4.97
Lighter Purple
#A55AF4
ΔE00 5.47
Light Urple
#B36FF6
ΔE00 5.59
Periwinkle (survey)
#8E82FE
ΔE00 6.12
Purpley
#8756E4
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956EF6 #CFF66E
analogous
#6E8BF6 #956EF6 #D96EF6
triadic
#956EF6 #F6956E #6EF695
tetradic
#956EF6 #F66E8B #CFF66E #6EF6D9
square
#956EF6 #F66E8B #CFF66E #6EF6D9
split-complementary
#956EF6 #F6D96E #8BF66E
monochromatic
#490EDC #6B34F2 #956EF6 #BFA8FA #E9E1FD
Accessibility & contrast
On white
3.60
#956EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#956EF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956EF6
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956EF6 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2889FB
Deuteranopia (green-blind)
#3485F3
Tritanopia (blue-blind)
#7C8BA8
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #956ef6; /* rgb */ color: rgb(149, 110, 246); /* oklch */ color: oklch(64.2% 0.195 293.3);
Tailwind
colors: {
custom: {
50: '#b999fa',
500: '#956ef6',
950: '#000000',
},
}SCSS
$custom: #956ef6; $custom-light: #b999fa; $custom-dark: #000000;
JSON
{
"hex": "#956ef6",
"rgb": {
"r": 149,
"g": 110,
"b": 246
},
"hsl": {
"h": 257.206,
"s": 88.312,
"l": 69.804
},
"oklch": {
"l": 0.64209,
"c": 0.19527,
"h": 293.3
},
"luminance": 0.24195
}Semantic roles & 50–950 ramp
primary
#956EF6
secondary
#E8F3CD
accent
#E501A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85