#7A59DC#7A59DC
#7A59DC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.191 H 290.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7A59DC |
|---|---|
| RGB | rgb(122, 89, 220) |
| HSL | hsl(255, 65%, 61%) |
| HSV | hsv(255, 60%, 86%) |
| CMYK | cmyk(44.5%, 59.5%, 0%, 13.7%) |
| CIE-LAB | lab(47.56, 44.31, -62.69) |
| CIE-LCH | lch(47.56, 76.76, 305.25°) |
| OKLab | oklab(56.66% 0.0673 -0.1789) |
| OKLCH | oklch(56.66% 0.191 290.6) |
| XYZ | xyz(24.5131, 16.4488, 69.5796) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.57
Light Indigo
#6D5ACF
ΔE00 2.97
Slate Blue
#6A5ACD
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 4.42
Mediumslateblue
#7B68EE
ΔE00 5.30
Iris
#6258C4
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A59DC #BBDC59
analogous
#5979DC #7A59DC #BC59DC
triadic
#7A59DC #DC7A59 #59DC7A
tetradic
#7A59DC #DC5979 #BBDC59 #59DCBC
square
#7A59DC #DC5979 #BBDC59 #59DCBC
split-complementary
#7A59DC #DCBC59 #79DC59
monochromatic
#3F209A #542BCD #7A59DC #A28CE7 #CBBEF1
Accessibility & contrast
On white
4.90
#7A59DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7A59DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A59DC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A59DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A59DC | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#5D7792
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7a59dc; /* rgb */ color: rgb(122, 89, 220); /* oklch */ color: oklch(56.7% 0.191 290.6);
Tailwind
colors: {
custom: {
50: '#a789e8',
500: '#7a59dc',
950: '#000000',
},
}SCSS
$custom: #7a59dc; $custom-light: #a789e8; $custom-dark: #000000;
JSON
{
"hex": "#7a59dc",
"rgb": {
"r": 122,
"g": 89,
"b": 220
},
"hsl": {
"h": 255.115,
"s": 65.174,
"l": 60.588
},
"oklch": {
"l": 0.56661,
"c": 0.19116,
"h": 290.6
},
"luminance": 0.1645
}Semantic roles & 50–950 ramp
primary
#7A59DC
secondary
#D5E1AF
accent
#CD18A0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84