#7D58DF#7D58DF
#7D58DF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.196 H 291.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7D58DF |
|---|---|
| RGB | rgb(125, 88, 223) |
| HSL | hsl(256, 68%, 61%) |
| HSV | hsv(256, 61%, 87%) |
| CMYK | cmyk(43.9%, 60.5%, 0%, 12.5%) |
| CIE-LAB | lab(47.84, 46.32, -63.92) |
| CIE-LCH | lch(47.84, 78.94, 305.93°) |
| OKLab | oklab(57% 0.0721 -0.1825) |
| OKLCH | oklch(57% 0.196 291.6) |
| XYZ | xyz(25.2628, 16.6663, 71.6836) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.89
Light Indigo
#6D5ACF
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 4.25
Dark Periwinkle
#665FD1
ΔE00 5.09
Mediumslateblue
#7B68EE
ΔE00 5.32
Iris
#6258C4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D58DF #BADF58
analogous
#5876DF #7D58DF #C058DF
triadic
#7D58DF #DF7D58 #58DF7D
tetradic
#7D58DF #DF5876 #BADF58 #58DFC0
square
#7D58DF #DF5876 #BADF58 #58DFC0
split-complementary
#7D58DF #DFC058 #76DF58
monochromatic
#411E9E #5728D2 #7D58DF #A58BE9 #CDBFF3
Accessibility & contrast
On white
4.85
#7D58DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7D58DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D58DF
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D58DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D58DF | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#607793
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d58df; /* rgb */ color: rgb(125, 88, 223); /* oklch */ color: oklch(57.0% 0.196 291.6);
Tailwind
colors: {
custom: {
50: '#a989ea',
500: '#7d58df',
950: '#000000',
},
}SCSS
$custom: #7d58df; $custom-light: #a989ea; $custom-dark: #000000;
JSON
{
"hex": "#7d58df",
"rgb": {
"r": 125,
"g": 88,
"b": 223
},
"hsl": {
"h": 256.444,
"s": 67.839,
"l": 60.98
},
"oklch": {
"l": 0.56997,
"c": 0.19622,
"h": 291.6
},
"luminance": 0.16667
}Semantic roles & 50–950 ramp
primary
#7D58DF
secondary
#D5E3B0
accent
#D0169D
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84