#965CD2#965CD2
#965CD2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.178 H 304.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #965CD2 |
|---|---|
| RGB | rgb(150, 92, 210) |
| HSL | hsl(269, 57%, 59%) |
| HSV | hsv(269, 56%, 82%) |
| CMYK | cmyk(28.6%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(50.44, 46.44, -52.20) |
| CIE-LCH | lch(50.44, 69.87, 311.66°) |
| OKLab | oklab(59.24% 0.1 -0.1473) |
| OKLCH | oklch(59.24% 0.178 304.2) |
| XYZ | xyz(28.0351, 18.7916, 63.1105) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.78
Lightish Purple
#A552E6
ΔE00 3.90
Purpley
#8756E4
ΔE00 4.61
Deep Lavender
#8D5EB7
ΔE00 4.70
Lighter Purple
#A55AF4
ΔE00 5.26
Mediumpurple
#9370DB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#965CD2 #98D25C
analogous
#5C5DD2 #965CD2 #D15CD2
triadic
#965CD2 #D2965C #5CD296
tetradic
#965CD2 #D25C5D #98D25C #5CD2D1
square
#965CD2 #D25C5D #98D25C #5CD2D1
split-complementary
#965CD2 #D2D15C #5DD25C
monochromatic
#59278D #7734BD #965CD2 #B58CDF #D4BCEC
Accessibility & contrast
On white
4.41
#965CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#965CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #965CD2
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##965CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##965CD2 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E77D6
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#8B738E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #965cd2; /* rgb */ color: rgb(150, 92, 210); /* oklch */ color: oklch(59.2% 0.178 304.2);
Tailwind
colors: {
custom: {
50: '#b88ce0',
500: '#965cd2',
950: '#000000',
},
}SCSS
$custom: #965cd2; $custom-light: #b88ce0; $custom-dark: #000000;
JSON
{
"hex": "#965cd2",
"rgb": {
"r": 150,
"g": 92,
"b": 210
},
"hsl": {
"h": 269.492,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.59241,
"c": 0.17802,
"h": 304.2
},
"luminance": 0.18791
}Semantic roles & 50–950 ramp
primary
#965CD2
secondary
#C5DCAE
accent
#E04895
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83