#965AF2#965AF2
#965AF2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.218 H 297.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #965AF2 |
|---|---|
| RGB | rgb(150, 90, 242) |
| HSL | hsl(264, 85%, 65%) |
| HSV | hsv(264, 63%, 95%) |
| CMYK | cmyk(38%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(52.07, 55.36, -67.65) |
| CIE-LCH | lch(52.07, 87.41, 309.29°) |
| OKLab | oklab(61.07% 0.1014 -0.1926) |
| OKLCH | oklch(61.07% 0.218 297.8) |
| XYZ | xyz(32.2568, 20.2067, 86.1880) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.67
Purpley
#8756E4
ΔE00 3.57
Lightish Purple
#A552E6
ΔE00 3.73
Mediumslateblue
#7B68EE
ΔE00 5.89
Mediumpurple
#9370DB
ΔE00 6.45
Light Urple
#B36FF6
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#965AF2 #B6F25A
analogous
#5A6AF2 #965AF2 #E25AF2
triadic
#965AF2 #F2965A #5AF296
tetradic
#965AF2 #F25A6A #B6F25A #5AF2E2
square
#965AF2 #F25A6A #B6F25A #5AF2E2
split-complementary
#965AF2 #F2E25A #6AF25A
monochromatic
#560FC2 #7221EE #965AF2 #BA93F6 #DECBFB
Accessibility & contrast
On white
4.17
#965AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#965AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #965AF2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##965AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##965AF2 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#807C9E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #965af2; /* rgb */ color: rgb(150, 90, 242); /* oklch */ color: oklch(61.1% 0.218 297.8);
Tailwind
colors: {
custom: {
50: '#bb8cf7',
500: '#965af2',
950: '#000000',
},
}SCSS
$custom: #965af2; $custom-light: #bb8cf7; $custom-dark: #000000;
JSON
{
"hex": "#965af2",
"rgb": {
"r": 150,
"g": 90,
"b": 242
},
"hsl": {
"h": 263.684,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.61072,
"c": 0.2177,
"h": 297.8
},
"luminance": 0.20207
}Semantic roles & 50–950 ramp
primary
#965AF2
secondary
#D9EEBA
accent
#E2048A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85