#7959CF#7959CF
#7959CF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.175 H 292.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7959CF |
|---|---|
| RGB | rgb(121, 89, 207) |
| HSL | hsl(256, 55%, 58%) |
| HSV | hsv(256, 57%, 81%) |
| CMYK | cmyk(41.5%, 57%, 0%, 18.8%) |
| CIE-LAB | lab(46.60, 40.48, -56.82) |
| CIE-LCH | lch(46.60, 69.76, 305.47°) |
| OKLab | oklab(55.66% 0.0662 -0.1617) |
| OKLCH | oklch(55.66% 0.175 292.3) |
| XYZ | xyz(22.7170, 15.7141, 60.8556) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.35
Slate Blue
#6A5ACD
ΔE00 2.91
Purpley
#8756E4
ΔE00 3.80
Dark Periwinkle
#665FD1
ΔE00 4.29
Iris
#6258C4
ΔE00 4.57
Mediumslateblue
#7B68EE
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7959CF #AFCF59
analogous
#5974CF #7959CF #B459CF
triadic
#7959CF #CF7959 #59CF79
tetradic
#7959CF #CF5974 #AFCF59 #59CFB4
square
#7959CF #CF5974 #AFCF59 #59CFB4
split-complementary
#7959CF #CFB459 #74CF59
monochromatic
#412787 #5835B6 #7959CF #9F88DD #C6B8EA
Accessibility & contrast
On white
5.07
#7959CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#7959CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7959CF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7959CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7959CF | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1370D3
Deuteranopia (green-blind)
#1F6CCC
Tritanopia (blue-blind)
#62738B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7959cf; /* rgb */ color: rgb(121, 89, 207); /* oklch */ color: oklch(55.7% 0.175 292.3);
Tailwind
colors: {
custom: {
50: '#a589de',
500: '#7959cf',
950: '#000000',
},
}SCSS
$custom: #7959cf; $custom-light: #a589de; $custom-dark: #000000;
JSON
{
"hex": "#7959cf",
"rgb": {
"r": 121,
"g": 89,
"b": 207
},
"hsl": {
"h": 256.271,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.55657,
"c": 0.17476,
"h": 292.3
},
"luminance": 0.15715
}Semantic roles & 50–950 ramp
primary
#7959CF
secondary
#CDD9AA
accent
#DE49B6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83