#965DCD#965DCD
#965DCD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.171 H 305.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #965DCD |
|---|---|
| RGB | rgb(150, 93, 205) |
| HSL | hsl(271, 53%, 58%) |
| HSV | hsv(271, 55%, 80%) |
| CMYK | cmyk(26.8%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(50.36, 44.71, -49.47) |
| CIE-LCH | lch(50.36, 66.68, 312.10°) |
| OKLab | oklab(59.09% 0.0985 -0.1393) |
| OKLCH | oklch(59.09% 0.171 305.3) |
| XYZ | xyz(27.5091, 18.7207, 59.9100) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.96
Deep Lavender
#8D5EB7
ΔE00 3.93
Lightish Purple
#A552E6
ΔE00 4.53
Purpley
#8756E4
ΔE00 5.34
Lighter Purple
#A55AF4
ΔE00 5.95
Mediumpurple
#9370DB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#965DCD #94CD5D
analogous
#5E5DCD #965DCD #CD5DCC
triadic
#965DCD #CD965D #5DCD96
tetradic
#965DCD #CD5E5D #94CD5D #5DCCCD
square
#965DCD #CD5E5D #94CD5D #5DCCCD
split-complementary
#965DCD #CCCD5D #5DCD5E
monochromatic
#592986 #7838B5 #965DCD #B48CDB #D3BBEA
Accessibility & contrast
On white
4.43
#965DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#965DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #965DCD
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##965DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##965DCD | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#8D728C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #965dcd; /* rgb */ color: rgb(150, 93, 205); /* oklch */ color: oklch(59.1% 0.171 305.3);
Tailwind
colors: {
custom: {
50: '#b88ddd',
500: '#965dcd',
950: '#000000',
},
}SCSS
$custom: #965dcd; $custom-light: #b88ddd; $custom-dark: #000000;
JSON
{
"hex": "#965dcd",
"rgb": {
"r": 150,
"g": 93,
"b": 205
},
"hsl": {
"h": 270.536,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.59086,
"c": 0.17064,
"h": 305.3
},
"luminance": 0.18721
}Semantic roles & 50–950 ramp
primary
#965DCD
secondary
#C3D9AD
accent
#DC4C93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83