#956FD3#956FD3
#956FD3 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.3% C 0.150 H 299.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #956FD3 |
|---|---|
| RGB | rgb(149, 111, 211) |
| HSL | hsl(263, 53%, 63%) |
| HSV | hsv(263, 47%, 83%) |
| CMYK | cmyk(29.4%, 47.4%, 0%, 17.3%) |
| CIE-LAB | lab(54.51, 35.87, -46.29) |
| CIE-LCH | lch(54.51, 58.56, 307.77°) |
| OKLab | oklab(62.25% 0.0739 -0.1301) |
| OKLCH | oklch(62.25% 0.15 299.6) |
| XYZ | xyz(29.8340, 22.4614, 64.3791) |
| Luminance | 0.2246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 1.58
Deep Lilac
#966EBD
ΔE00 4.33
Amethyst
#9B5FC0
ΔE00 6.01
Light Urple
#B36FF6
ΔE00 6.90
Deep Lavender
#8D5EB7
ΔE00 6.93
Lighter Purple
#A55AF4
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956FD3 #ADD36F
analogous
#6F7BD3 #956FD3 #C76FD3
triadic
#956FD3 #D3956F #6FD395
tetradic
#956FD3 #D36F7B #ADD36F #6FD3C7
square
#956FD3 #D36F7B #ADD36F #6FD3C7
split-complementary
#956FD3 #D3C76F #7BD36F
monochromatic
#572F99 #7240C5 #956FD3 #B89EE1 #DACDF0
Accessibility & contrast
On white
3.82
#956FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#956FD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956FD3
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956FD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956FD3 | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5082D7
Deuteranopia (green-blind)
#5882D1
Tritanopia (blue-blind)
#898197
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #956fd3; /* rgb */ color: rgb(149, 111, 211); /* oklch */ color: oklch(62.3% 0.150 299.6);
Tailwind
colors: {
custom: {
50: '#b799e1',
500: '#956fd3',
950: '#000000',
},
}SCSS
$custom: #956fd3; $custom-light: #b799e1; $custom-dark: #000000;
JSON
{
"hex": "#956fd3",
"rgb": {
"r": 149,
"g": 111,
"b": 211
},
"hsl": {
"h": 262.8,
"s": 53.191,
"l": 63.137
},
"oklch": {
"l": 0.62253,
"c": 0.14956,
"h": 299.6
},
"luminance": 0.22462
}Semantic roles & 50–950 ramp
primary
#956FD3
secondary
#D3E1BD
accent
#C12585
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83