#7959CE#7959CE
#7959CE is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.173 H 292.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7959CE |
|---|---|
| RGB | rgb(121, 89, 206) |
| HSL | hsl(256, 54%, 58%) |
| HSV | hsv(256, 57%, 81%) |
| CMYK | cmyk(41.3%, 56.8%, 0%, 19.2%) |
| CIE-LAB | lab(46.53, 40.20, -56.35) |
| CIE-LCH | lch(46.53, 69.22, 305.51°) |
| OKLab | oklab(55.59% 0.0662 -0.1603) |
| OKLCH | oklch(55.59% 0.173 292.4) |
| XYZ | xyz(22.5951, 15.6653, 60.2138) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.38
Slate Blue
#6A5ACD
ΔE00 2.92
Purpley
#8756E4
ΔE00 3.91
Dark Periwinkle
#665FD1
ΔE00 4.33
Iris
#6258C4
ΔE00 4.54
Royal Purple
#7851A9
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7959CE #AECE59
analogous
#5973CE #7959CE #B359CE
triadic
#7959CE #CE7959 #59CE79
tetradic
#7959CE #CE5973 #AECE59 #59CEB3
square
#7959CE #CE5973 #AECE59 #59CEB3
split-complementary
#7959CE #CEB359 #73CE59
monochromatic
#412785 #5835B5 #7959CE #9F88DC #C5B8EA
Accessibility & contrast
On white
5.08
#7959CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7959CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7959CE
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7959CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7959CE | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1670D2
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#62728B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7959ce; /* rgb */ color: rgb(121, 89, 206); /* oklch */ color: oklch(55.6% 0.173 292.4);
Tailwind
colors: {
custom: {
50: '#a589de',
500: '#7959ce',
950: '#000000',
},
}SCSS
$custom: #7959ce; $custom-light: #a589de; $custom-dark: #000000;
JSON
{
"hex": "#7959ce",
"rgb": {
"r": 121,
"g": 89,
"b": 206
},
"hsl": {
"h": 256.41,
"s": 54.419,
"l": 57.843
},
"oklch": {
"l": 0.55589,
"c": 0.17348,
"h": 292.4
},
"luminance": 0.15666
}Semantic roles & 50–950 ramp
primary
#7959CE
secondary
#CCD9AA
accent
#DE4AB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83