#956EF2#956EF2
#956EF2 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.0% C 0.190 H 294.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #956EF2 |
|---|---|
| RGB | rgb(149, 110, 242) |
| HSL | hsl(258, 84%, 69%) |
| HSV | hsv(258, 55%, 95%) |
| CMYK | cmyk(38.4%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(56.04, 44.40, -61.25) |
| CIE-LCH | lch(56.04, 75.65, 305.94°) |
| OKLab | oklab(63.95% 0.0773 -0.1739) |
| OKLCH | oklch(63.95% 0.19 294) |
| XYZ | xyz(33.9931, 23.9515, 86.8193) |
| Luminance | 0.2395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.51
Mediumslateblue
#7B68EE
ΔE00 4.95
Lighter Purple
#A55AF4
ΔE00 5.39
Light Urple
#B36FF6
ΔE00 5.53
Periwinkle (survey)
#8E82FE
ΔE00 6.32
Purpley
#8756E4
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956EF2 #CBF26E
analogous
#6E89F2 #956EF2 #D76EF2
triadic
#956EF2 #F2956E #6EF295
tetradic
#956EF2 #F26E89 #CBF26E #6EF2D7
square
#956EF2 #F26E89 #CBF26E #6EF2D7
split-complementary
#956EF2 #F2D76E #89F26E
monochromatic
#4C13D3 #6C36ED #956EF2 #BEA6F7 #E7DEFC
Accessibility & contrast
On white
3.63
#956EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#956EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956EF2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956EF2 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F88F6
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#7D8AA6
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #956ef2; /* rgb */ color: rgb(149, 110, 242); /* oklch */ color: oklch(64.0% 0.190 294.0);
Tailwind
colors: {
custom: {
50: '#b999f7',
500: '#956ef2',
950: '#000000',
},
}SCSS
$custom: #956ef2; $custom-light: #b999f7; $custom-dark: #000000;
JSON
{
"hex": "#956ef2",
"rgb": {
"r": 149,
"g": 110,
"b": 242
},
"hsl": {
"h": 257.727,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.63952,
"c": 0.19031,
"h": 294
},
"luminance": 0.23952
}Semantic roles & 50–950 ramp
primary
#956EF2
secondary
#E6F1CB
accent
#E0069F
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85