#7D57DF#7D57DF
#7D57DF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.198 H 291.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7D57DF |
|---|---|
| RGB | rgb(125, 87, 223) |
| HSL | hsl(257, 68%, 61%) |
| HSV | hsv(257, 61%, 87%) |
| CMYK | cmyk(43.9%, 61%, 0%, 12.5%) |
| CIE-LAB | lab(47.63, 46.87, -64.26) |
| CIE-LCH | lch(47.63, 79.54, 306.11°) |
| OKLab | oklab(56.85% 0.0732 -0.1835) |
| OKLCH | oklch(56.85% 0.198 291.7) |
| XYZ | xyz(25.1812, 16.5033, 71.6564) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.87
Light Indigo
#6D5ACF
ΔE00 3.68
Slate Blue
#6A5ACD
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 5.20
Mediumslateblue
#7B68EE
ΔE00 5.56
Iris
#6258C4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D57DF #B9DF57
analogous
#5775DF #7D57DF #C157DF
triadic
#7D57DF #DF7D57 #57DF7D
tetradic
#7D57DF #DF5775 #B9DF57 #57DFC1
square
#7D57DF #DF5775 #B9DF57 #57DFC1
split-complementary
#7D57DF #DFC157 #75DF57
monochromatic
#421E9E #5728D1 #7D57DF #A58AE9 #CDBEF3
Accessibility & contrast
On white
4.88
#7D57DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7D57DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D57DF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D57DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D57DF | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#607693
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d57df; /* rgb */ color: rgb(125, 87, 223); /* oklch */ color: oklch(56.8% 0.198 291.7);
Tailwind
colors: {
custom: {
50: '#a988ea',
500: '#7d57df',
950: '#000000',
},
}SCSS
$custom: #7d57df; $custom-light: #a988ea; $custom-dark: #000000;
JSON
{
"hex": "#7d57df",
"rgb": {
"r": 125,
"g": 87,
"b": 223
},
"hsl": {
"h": 256.765,
"s": 68,
"l": 60.784
},
"oklch": {
"l": 0.56845,
"c": 0.19754,
"h": 291.7
},
"luminance": 0.16504
}Semantic roles & 50–950 ramp
primary
#7D57DF
secondary
#D4E3AF
accent
#D0169C
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B16
muted
#807C84