#956CFC#956CFC
#956CFC is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.3% C 0.205 H 292.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #956CFC |
|---|---|
| RGB | rgb(149, 108, 252) |
| HSL | hsl(257, 96%, 71%) |
| HSV | hsv(257, 57%, 99%) |
| CMYK | cmyk(40.9%, 57.1%, 0%, 1.2%) |
| CIE-LAB | lab(56.23, 48.15, -66.49) |
| CIE-LCH | lch(56.23, 82.09, 305.91°) |
| OKLab | oklab(64.29% 0.0797 -0.1893) |
| OKLCH | oklch(64.29% 0.205 292.8) |
| XYZ | xyz(35.3229, 24.1420, 94.8754) |
| Luminance | 0.2414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.92
Mediumslateblue
#7B68EE
ΔE00 4.98
Lighter Purple
#A55AF4
ΔE00 5.25
Light Urple
#B36FF6
ΔE00 5.80
Periwinkle (survey)
#8E82FE
ΔE00 6.41
Purpley
#8756E4
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956CFC #D3FC6C
analogous
#6C8BFC #956CFC #DD6CFC
triadic
#956CFC #FC956C #6CFC95
tetradic
#956CFC #FC6C8B #D3FC6C #6CFCDD
square
#956CFC #FC6C8B #D3FC6C #6CFCDD
split-complementary
#956CFC #FCDD6C #8BFC6C
monochromatic
#4605E9 #6A30FB #956CFC #C0A8FD #E9E1FE
Accessibility & contrast
On white
3.60
#956CFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#956CFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956CFC
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956CFC | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D89FF
Deuteranopia (green-blind)
#2484F9
Tritanopia (blue-blind)
#798BAA
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #956cfc; /* rgb */ color: rgb(149, 108, 252); /* oklch */ color: oklch(64.3% 0.205 292.8);
Tailwind
colors: {
custom: {
50: '#ba97fe',
500: '#956cfc',
950: '#000000',
},
}SCSS
$custom: #956cfc; $custom-light: #ba97fe; $custom-dark: #000000;
JSON
{
"hex": "#956cfc",
"rgb": {
"r": 149,
"g": 108,
"b": 252
},
"hsl": {
"h": 257.083,
"s": 96,
"l": 70.588
},
"oklch": {
"l": 0.6429,
"c": 0.20538,
"h": 292.8
},
"luminance": 0.24143
}Semantic roles & 50–950 ramp
primary
#956CFC
secondary
#EAF5CE
accent
#E600A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86