#7D57AF#7D57AF
#7D57AF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.7% C 0.137 H 301.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7D57AF |
|---|---|
| RGB | rgb(125, 87, 175) |
| HSL | hsl(266, 35%, 51%) |
| HSV | hsv(266, 50%, 69%) |
| CMYK | cmyk(28.6%, 50.3%, 0%, 31.4%) |
| CIE-LAB | lab(44.62, 34.12, -41.38) |
| CIE-LCH | lch(44.62, 53.63, 309.50°) |
| OKLab | oklab(53.67% 0.0725 -0.1163) |
| OKLCH | oklch(53.67% 0.137 301.9) |
| XYZ | xyz(19.6018, 14.2715, 42.2711) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.10
Deep Lavender
#8D5EB7
ΔE00 4.01
Amethyst
#9B5FC0
ΔE00 6.94
Light Indigo
#6D5ACF
ΔE00 7.04
Slate Blue
#6A5ACD
ΔE00 7.19
Iris
#6258C4
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D57AF #89AF57
analogous
#575DAF #7D57AF #A957AF
triadic
#7D57AF #AF7D57 #57AF7D
tetradic
#7D57AF #AF575D #89AF57 #57AFA9
square
#7D57AF #AF575D #89AF57 #57AFA9
split-complementary
#7D57AF #AFA957 #5DAF57
monochromatic
#422D5F #604188 #7D57AF #9D80C3 #BDAAD6
Accessibility & contrast
On white
5.45
#7D57AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7D57AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D57AF
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D57AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D57AF | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#4569AD
Tritanopia (blue-blind)
#74677B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7d57af; /* rgb */ color: rgb(125, 87, 175); /* oklch */ color: oklch(53.7% 0.137 301.9);
Tailwind
colors: {
custom: {
50: '#a587c7',
500: '#7d57af',
950: '#000000',
},
}SCSS
$custom: #7d57af; $custom-light: #a587c7; $custom-dark: #000000;
JSON
{
"hex": "#7d57af",
"rgb": {
"r": 125,
"g": 87,
"b": 175
},
"hsl": {
"h": 265.909,
"s": 35.484,
"l": 51.373
},
"oklch": {
"l": 0.53666,
"c": 0.13707,
"h": 301.9
},
"luminance": 0.14272
}Semantic roles & 50–950 ramp
primary
#7D57AF
secondary
#B4C49E
accent
#CC5C9B
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82