#7D57BE#7D57BE
#7D57BE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.6% C 0.156 H 298.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7D57BE |
|---|---|
| RGB | rgb(125, 87, 190) |
| HSL | hsl(262, 44%, 54%) |
| HSV | hsv(262, 54%, 75%) |
| CMYK | cmyk(34.2%, 54.2%, 0%, 25.5%) |
| CIE-LAB | lab(45.49, 37.99, -48.76) |
| CIE-LCH | lch(45.49, 61.81, 307.92°) |
| OKLab | oklab(54.59% 0.0735 -0.1379) |
| OKLCH | oklch(54.59% 0.156 298.1) |
| XYZ | xyz(21.1576, 14.8938, 50.4653) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.95
Deep Lavender
#8D5EB7
ΔE00 4.68
Light Indigo
#6D5ACF
ΔE00 4.72
Slate Blue
#6A5ACD
ΔE00 5.02
Iris
#6258C4
ΔE00 5.79
Purpley
#8756E4
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D57BE #98BE57
analogous
#5765BE #7D57BE #B157BE
triadic
#7D57BE #BE7D57 #57BE7D
tetradic
#7D57BE #BE5765 #98BE57 #57BEB1
square
#7D57BE #BE5765 #98BE57 #57BEB1
split-complementary
#7D57BE #BEB157 #65BE57
monochromatic
#442B6F #5F3C9C #7D57BE #9F83CF #C1AFE0
Accessibility & contrast
On white
5.28
#7D57BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#7D57BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D57BE
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D57BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D57BE | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6CC1
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#6F6C82
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d57be; /* rgb */ color: rgb(125, 87, 190); /* oklch */ color: oklch(54.6% 0.156 298.1);
Tailwind
colors: {
custom: {
50: '#a687d2',
500: '#7d57be',
950: '#000000',
},
}SCSS
$custom: #7d57be; $custom-light: #a687d2; $custom-dark: #000000;
JSON
{
"hex": "#7d57be",
"rgb": {
"r": 125,
"g": 87,
"b": 190
},
"hsl": {
"h": 262.136,
"s": 44.206,
"l": 54.314
},
"oklch": {
"l": 0.54592,
"c": 0.15632,
"h": 298.1
},
"luminance": 0.14894
}Semantic roles & 50–950 ramp
primary
#7D57BE
secondary
#BECEA3
accent
#D454A5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83