#7965CA#7965CA
#7965CA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.4% C 0.151 H 289.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7965CA |
|---|---|
| RGB | rgb(121, 101, 202) |
| HSL | hsl(252, 49%, 59%) |
| HSV | hsv(252, 50%, 79%) |
| CMYK | cmyk(40.1%, 50%, 0%, 20.8%) |
| CIE-LAB | lab(49.05, 32.07, -50.01) |
| CIE-LCH | lch(49.05, 59.41, 302.67°) |
| OKLab | oklab(57.38% 0.0513 -0.1417) |
| OKLCH | oklch(57.38% 0.151 289.9) |
| XYZ | xyz(23.1966, 17.6359, 58.0475) |
| Luminance | 0.1764 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.39
Mediumslateblue
#7B68EE
ΔE00 5.48
Iris
#6258C4
ΔE00 5.76
Purpley
#8756E4
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7965CA #B6CA65
analogous
#6584CA #7965CA #AC65CA
triadic
#7965CA #CA7965 #65CA79
tetradic
#7965CA #CA6584 #B6CA65 #65CAAC
square
#7965CA #CA6584 #B6CA65 #65CAAC
split-complementary
#7965CA #CAAC65 #84CA65
monochromatic
#402E86 #553EB4 #7965CA #A193DA #C8C0E9
Accessibility & contrast
On white
4.64
#7965CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#7965CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7965CA
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7965CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7965CA | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C77CE
Deuteranopia (green-blind)
#3E72C8
Tritanopia (blue-blind)
#637A8E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7965ca; /* rgb */ color: rgb(121, 101, 202); /* oklch */ color: oklch(57.4% 0.151 289.9);
Tailwind
colors: {
custom: {
50: '#a491db',
500: '#7965ca',
950: '#000000',
},
}SCSS
$custom: #7965ca; $custom-light: #a491db; $custom-dark: #000000;
JSON
{
"hex": "#7965ca",
"rgb": {
"r": 121,
"g": 101,
"b": 202
},
"hsl": {
"h": 251.881,
"s": 48.792,
"l": 59.412
},
"oklch": {
"l": 0.5738,
"c": 0.15071,
"h": 289.9
},
"luminance": 0.17637
}Semantic roles & 50–950 ramp
primary
#7965CA
secondary
#D1D9B2
accent
#D84FBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83