#965CCB#965CCB
#965CCB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.170 H 306.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #965CCB |
|---|---|
| RGB | rgb(150, 92, 203) |
| HSL | hsl(271, 52%, 58%) |
| HSV | hsv(271, 55%, 80%) |
| CMYK | cmyk(26.1%, 54.7%, 0%, 20.4%) |
| CIE-LAB | lab(50.04, 44.78, -48.84) |
| CIE-LCH | lch(50.04, 66.26, 312.51°) |
| OKLab | oklab(58.81% 0.0998 -0.1374) |
| OKLCH | oklch(58.81% 0.17 306) |
| XYZ | xyz(27.1820, 18.4503, 58.6176) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.74
Deep Lavender
#8D5EB7
ΔE00 3.65
Lightish Purple
#A552E6
ΔE00 4.68
Purpley
#8756E4
ΔE00 5.52
Deep Lilac
#966EBD
ΔE00 6.14
Lighter Purple
#A55AF4
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#965CCB #91CB5C
analogous
#5E5CCB #965CCB #CB5CC9
triadic
#965CCB #CB965C #5CCB96
tetradic
#965CCB #CB5E5C #91CB5C #5CC9CB
square
#965CCB #CB5E5C #91CB5C #5CC9CB
split-complementary
#965CCB #C9CB5C #5CCB5E
monochromatic
#582A83 #7839B1 #965CCB #B48ADA #D2B9E9
Accessibility & contrast
On white
4.48
#965CCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#965CCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #965CCB
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##965CCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##965CCB | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#8D718B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #965ccb; /* rgb */ color: rgb(150, 92, 203); /* oklch */ color: oklch(58.8% 0.170 306.0);
Tailwind
colors: {
custom: {
50: '#b88cdb',
500: '#965ccb',
950: '#000000',
},
}SCSS
$custom: #965ccb; $custom-light: #b88cdb; $custom-dark: #000000;
JSON
{
"hex": "#965ccb",
"rgb": {
"r": 150,
"g": 92,
"b": 203
},
"hsl": {
"h": 271.351,
"s": 51.628,
"l": 57.843
},
"oklch": {
"l": 0.58813,
"c": 0.16983,
"h": 306
},
"luminance": 0.1845
}Semantic roles & 50–950 ramp
primary
#965CCB
secondary
#C0D8AB
accent
#DB4D91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83