#965EF6#965EF6
#965EF6 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.217 H 296.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #965EF6 |
|---|---|
| RGB | rgb(150, 94, 246) |
| HSL | hsl(262, 89%, 67%) |
| HSV | hsv(262, 62%, 96%) |
| CMYK | cmyk(39%, 61.8%, 0%, 3.5%) |
| CIE-LAB | lab(53.11, 54.30, -68.20) |
| CIE-LCH | lch(53.11, 87.18, 308.53°) |
| OKLab | oklab(61.91% 0.0968 -0.1943) |
| OKLCH | oklch(61.91% 0.217 296.5) |
| XYZ | xyz(33.2106, 21.1426, 89.5021) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.74
Purpley
#8756E4
ΔE00 4.43
Lightish Purple
#A552E6
ΔE00 4.56
Mediumslateblue
#7B68EE
ΔE00 5.38
Mediumpurple
#9370DB
ΔE00 5.94
Light Urple
#B36FF6
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#965EF6 #BEF65E
analogous
#5E72F6 #965EF6 #E25EF6
triadic
#965EF6 #F6965E #5EF696
tetradic
#965EF6 #F65E72 #BEF65E #5EF6E2
square
#965EF6 #F65E72 #BEF65E #5EF6E2
split-complementary
#965EF6 #F6E25E #72F65E
monochromatic
#530CCE #7024F3 #965EF6 #BC98F9 #E2D2FC
Accessibility & contrast
On white
4.02
#965EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#965EF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #965EF6
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##965EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##965EF6 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#7E80A2
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #965ef6; /* rgb */ color: rgb(150, 94, 246); /* oklch */ color: oklch(61.9% 0.217 296.5);
Tailwind
colors: {
custom: {
50: '#bb8efa',
500: '#965ef6',
950: '#000000',
},
}SCSS
$custom: #965ef6; $custom-light: #bb8efa; $custom-dark: #000000;
JSON
{
"hex": "#965ef6",
"rgb": {
"r": 150,
"g": 94,
"b": 246
},
"hsl": {
"h": 262.105,
"s": 89.412,
"l": 66.667
},
"oklch": {
"l": 0.61908,
"c": 0.21705,
"h": 296.5
},
"luminance": 0.21143
}Semantic roles & 50–950 ramp
primary
#965EF6
secondary
#DEF0BF
accent
#E60091
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85