#965CEF#965CEF
#965CEF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.212 H 298.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #965CEF |
|---|---|
| RGB | rgb(150, 92, 239) |
| HSL | hsl(264, 82%, 65%) |
| HSV | hsv(264, 62%, 94%) |
| CMYK | cmyk(37.2%, 61.5%, 0%, 6.3%) |
| CIE-LAB | lab(52.25, 53.57, -65.67) |
| CIE-LCH | lch(52.25, 84.75, 309.21°) |
| OKLab | oklab(61.14% 0.0994 -0.1868) |
| OKLCH | oklch(61.14% 0.212 298) |
| XYZ | xyz(31.9809, 20.3699, 83.8915) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.63
Purpley
#8756E4
ΔE00 3.63
Lightish Purple
#A552E6
ΔE00 3.72
Mediumslateblue
#7B68EE
ΔE00 5.72
Mediumpurple
#9370DB
ΔE00 5.91
Light Urple
#B36FF6
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#965CEF #B5EF5C
analogous
#5C6CEF #965CEF #DF5CEF
triadic
#965CEF #EF965C #5CEF96
tetradic
#965CEF #EF5C6C #B5EF5C #5CEFDF
square
#965CEF #EF5C6C #B5EF5C #5CEFDF
split-complementary
#965CEF #EFDF5C #6CEF5C
monochromatic
#5613BE #7224EA #965CEF #BA94F4 #DECBFA
Accessibility & contrast
On white
4.14
#965CEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#965CEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #965CEF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##965CEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##965CEF | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#157BEC
Tritanopia (blue-blind)
#817C9D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #965cef; /* rgb */ color: rgb(150, 92, 239); /* oklch */ color: oklch(61.1% 0.212 298.0);
Tailwind
colors: {
custom: {
50: '#ba8df5',
500: '#965cef',
950: '#000000',
},
}SCSS
$custom: #965cef; $custom-light: #ba8df5; $custom-dark: #000000;
JSON
{
"hex": "#965cef",
"rgb": {
"r": 150,
"g": 92,
"b": 239
},
"hsl": {
"h": 263.673,
"s": 82.123,
"l": 64.902
},
"oklch": {
"l": 0.61141,
"c": 0.21165,
"h": 298
},
"luminance": 0.2037
}Semantic roles & 50–950 ramp
primary
#965CEF
secondary
#D9ECBA
accent
#DF0789
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85