#956EF0#956EF0
#956EF0 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.8% C 0.188 H 294.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #956EF0 |
|---|---|
| RGB | rgb(149, 110, 240) |
| HSL | hsl(258, 81%, 69%) |
| HSV | hsv(258, 54%, 94%) |
| CMYK | cmyk(37.9%, 54.2%, 0%, 5.9%) |
| CIE-LAB | lab(55.92, 43.87, -60.33) |
| CIE-LCH | lch(55.92, 74.60, 306.02°) |
| OKLab | oklab(63.83% 0.0773 -0.1712) |
| OKLCH | oklch(63.83% 0.188 294.3) |
| XYZ | xyz(33.6944, 23.8320, 85.2460) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.23
Mediumslateblue
#7B68EE
ΔE00 4.97
Lighter Purple
#A55AF4
ΔE00 5.38
Light Urple
#B36FF6
ΔE00 5.52
Periwinkle (survey)
#8E82FE
ΔE00 6.43
Purpley
#8756E4
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956EF0 #C9F06E
analogous
#6E88F0 #956EF0 #D66EF0
triadic
#956EF0 #F0956E #6EF095
tetradic
#956EF0 #F06E88 #C9F06E #6EF0D6
square
#956EF0 #F06E88 #C9F06E #6EF0D6
split-complementary
#956EF0 #F0D66E #88F06E
monochromatic
#4D15CE #6C37EA #956EF0 #BEA5F6 #E6DDFB
Accessibility & contrast
On white
3.64
#956EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#956EF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956EF0
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956EF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956EF0 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3287F4
Deuteranopia (green-blind)
#3D84ED
Tritanopia (blue-blind)
#7E89A5
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #956ef0; /* rgb */ color: rgb(149, 110, 240); /* oklch */ color: oklch(63.8% 0.188 294.3);
Tailwind
colors: {
custom: {
50: '#b999f6',
500: '#956ef0',
950: '#000000',
},
}SCSS
$custom: #956ef0; $custom-light: #b999f6; $custom-dark: #000000;
JSON
{
"hex": "#956ef0",
"rgb": {
"r": 149,
"g": 110,
"b": 240
},
"hsl": {
"h": 258,
"s": 81.25,
"l": 68.627
},
"oklch": {
"l": 0.63825,
"c": 0.18782,
"h": 294.3
},
"luminance": 0.23833
}Semantic roles & 50–950 ramp
primary
#956EF0
secondary
#E5F0CA
accent
#DE089D
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85