#7A57CA#7A57CA
#7A57CA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.171 H 294.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7A57CA |
|---|---|
| RGB | rgb(122, 87, 202) |
| HSL | hsl(258, 52%, 57%) |
| HSV | hsv(258, 57%, 79%) |
| CMYK | cmyk(39.6%, 56.9%, 0%, 20.8%) |
| CIE-LAB | lab(45.93, 40.48, -55.01) |
| CIE-LCH | lch(45.93, 68.30, 306.35°) |
| OKLab | oklab(55.09% 0.0699 -0.1564) |
| OKLCH | oklch(55.09% 0.171 294.1) |
| XYZ | xyz(22.0921, 15.2177, 57.6390) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 3.40
Purpley
#8756E4
ΔE00 4.28
Iris
#6258C4
ΔE00 4.72
Dark Periwinkle
#665FD1
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A57CA #A7CA57
analogous
#576ECA #7A57CA #B457CA
triadic
#7A57CA #CA7A57 #57CA7A
tetradic
#7A57CA #CA576E #A7CA57 #57CAB4
square
#7A57CA #CA576E #A7CA57 #57CAB4
split-complementary
#7A57CA #CAB457 #6ECA57
monochromatic
#42287F #5B37AD #7A57CA #9F86D9 #C4B4E7
Accessibility & contrast
On white
5.19
#7A57CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#7A57CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A57CA
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A57CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A57CA | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186ECE
Deuteranopia (green-blind)
#256BC7
Tritanopia (blue-blind)
#657088
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7a57ca; /* rgb */ color: rgb(122, 87, 202); /* oklch */ color: oklch(55.1% 0.171 294.1);
Tailwind
colors: {
custom: {
50: '#a587db',
500: '#7a57ca',
950: '#000000',
},
}SCSS
$custom: #7a57ca; $custom-light: #a587db; $custom-dark: #000000;
JSON
{
"hex": "#7a57ca",
"rgb": {
"r": 122,
"g": 87,
"b": 202
},
"hsl": {
"h": 258.261,
"s": 52.036,
"l": 56.667
},
"oklch": {
"l": 0.55087,
"c": 0.1713,
"h": 294.1
},
"luminance": 0.15218
}Semantic roles & 50–950 ramp
primary
#7A57CA
secondary
#C8D6A7
accent
#DB4CB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83