#7959DC#7959DC
#7959DC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.191 H 290.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7959DC |
|---|---|
| RGB | rgb(121, 89, 220) |
| HSL | hsl(255, 65%, 61%) |
| HSV | hsv(255, 60%, 86%) |
| CMYK | cmyk(45%, 59.5%, 0%, 13.7%) |
| CIE-LAB | lab(47.46, 44.10, -62.84) |
| CIE-LCH | lch(47.46, 76.77, 305.06°) |
| OKLab | oklab(56.57% 0.066 -0.1794) |
| OKLCH | oklch(56.57% 0.191 290.2) |
| XYZ | xyz(24.3722, 16.3761, 69.5730) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.73
Light Indigo
#6D5ACF
ΔE00 2.83
Slate Blue
#6A5ACD
ΔE00 3.43
Dark Periwinkle
#665FD1
ΔE00 4.27
Mediumslateblue
#7B68EE
ΔE00 5.31
Iris
#6258C4
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7959DC #BCDC59
analogous
#597BDC #7959DC #BA59DC
triadic
#7959DC #DC7959 #59DC79
tetradic
#7959DC #DC597B #BCDC59 #59DCBA
square
#7959DC #DC597B #BCDC59 #59DCBA
split-complementary
#7959DC #DCBA59 #7BDC59
monochromatic
#3E209A #532BCD #7959DC #A28CE7 #CBBEF1
Accessibility & contrast
On white
4.91
#7959DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#7959DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7959DC
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7959DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7959DC | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#5B7792
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7959dc; /* rgb */ color: rgb(121, 89, 220); /* oklch */ color: oklch(56.6% 0.191 290.2);
Tailwind
colors: {
custom: {
50: '#a689e8',
500: '#7959dc',
950: '#000000',
},
}SCSS
$custom: #7959dc; $custom-light: #a689e8; $custom-dark: #000000;
JSON
{
"hex": "#7959dc",
"rgb": {
"r": 121,
"g": 89,
"b": 220
},
"hsl": {
"h": 254.656,
"s": 65.174,
"l": 60.588
},
"oklch": {
"l": 0.5657,
"c": 0.19117,
"h": 290.2
},
"luminance": 0.16377
}Semantic roles & 50–950 ramp
primary
#7959DC
secondary
#D5E1AF
accent
#CD18A1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84