#7965CF#7965CF
#7965CF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.7% C 0.157 H 289.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7965CF |
|---|---|
| RGB | rgb(121, 101, 207) |
| HSL | hsl(251, 52%, 60%) |
| HSV | hsv(251, 51%, 81%) |
| CMYK | cmyk(41.5%, 51.2%, 0%, 18.8%) |
| CIE-LAB | lab(49.35, 33.48, -52.40) |
| CIE-LCH | lch(49.35, 62.18, 302.57°) |
| OKLab | oklab(57.69% 0.0517 -0.1487) |
| OKLCH | oklch(57.69% 0.157 289.2) |
| XYZ | xyz(23.7982, 17.8765, 61.2160) |
| Luminance | 0.1788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.97
Dark Periwinkle
#665FD1
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.29
Mediumslateblue
#7B68EE
ΔE00 4.69
Purpley
#8756E4
ΔE00 5.57
Iris
#6258C4
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7965CF #BBCF65
analogous
#6586CF #7965CF #AE65CF
triadic
#7965CF #CF7965 #65CF79
tetradic
#7965CF #CF6586 #BBCF65 #65CFAE
square
#7965CF #CF6586 #BBCF65 #65CFAE
split-complementary
#7965CF #CFAE65 #86CF65
monochromatic
#3E2C8D #533BBC #7965CF #A294DE #CAC2EC
Accessibility & contrast
On white
4.59
#7965CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#7965CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7965CF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7965CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7965CF | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#617B90
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7965cf; /* rgb */ color: rgb(121, 101, 207); /* oklch */ color: oklch(57.7% 0.157 289.2);
Tailwind
colors: {
custom: {
50: '#a491de',
500: '#7965cf',
950: '#000000',
},
}SCSS
$custom: #7965cf; $custom-light: #a491de; $custom-dark: #000000;
JSON
{
"hex": "#7965cf",
"rgb": {
"r": 121,
"g": 101,
"b": 207
},
"hsl": {
"h": 251.321,
"s": 52.475,
"l": 60.392
},
"oklch": {
"l": 0.57695,
"c": 0.15746,
"h": 289.2
},
"luminance": 0.17877
}Semantic roles & 50–950 ramp
primary
#7965CF
secondary
#D5DCB4
accent
#C026A3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83