#7D57CD#7D57CD
#7D57CD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.175 H 294.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7D57CD |
|---|---|
| RGB | rgb(125, 87, 205) |
| HSL | hsl(259, 54%, 57%) |
| HSV | hsv(259, 58%, 80%) |
| CMYK | cmyk(39%, 57.6%, 0%, 19.6%) |
| CIE-LAB | lab(46.42, 41.98, -55.93) |
| CIE-LCH | lch(46.42, 69.93, 306.89°) |
| OKLab | oklab(55.58% 0.0738 -0.159) |
| OKLCH | oklch(55.58% 0.175 294.9) |
| XYZ | xyz(22.8822, 15.5837, 59.5481) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.33
Purpley
#8756E4
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 3.85
Iris
#6258C4
ΔE00 5.31
Dark Periwinkle
#665FD1
ΔE00 5.34
Deep Lavender
#8D5EB7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D57CD #A7CD57
analogous
#576CCD #7D57CD #B857CD
triadic
#7D57CD #CD7D57 #57CD7D
tetradic
#7D57CD #CD576C #A7CD57 #57CDB8
square
#7D57CD #CD576C #A7CD57 #57CDB8
split-complementary
#7D57CD #CDB857 #6CCD57
monochromatic
#442783 #5D35B2 #7D57CD #A186DB #C6B5E9
Accessibility & contrast
On white
5.10
#7D57CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#7D57CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D57CD
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D57CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D57CD | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#136FD1
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#69708A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7d57cd; /* rgb */ color: rgb(125, 87, 205); /* oklch */ color: oklch(55.6% 0.175 294.9);
Tailwind
colors: {
custom: {
50: '#a788dd',
500: '#7d57cd',
950: '#000000',
},
}SCSS
$custom: #7d57cd; $custom-light: #a788dd; $custom-dark: #000000;
JSON
{
"hex": "#7d57cd",
"rgb": {
"r": 125,
"g": 87,
"b": 205
},
"hsl": {
"h": 259.322,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.55581,
"c": 0.17528,
"h": 294.9
},
"luminance": 0.15584
}Semantic roles & 50–950 ramp
primary
#7D57CD
secondary
#C8D8A8
accent
#DD4AAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83