#7D58CD#7D58CD
#7D58CD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.174 H 294.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7D58CD |
|---|---|
| RGB | rgb(125, 88, 205) |
| HSL | hsl(259, 54%, 57%) |
| HSV | hsv(259, 57%, 80%) |
| CMYK | cmyk(39%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(46.64, 41.41, -55.58) |
| CIE-LCH | lch(46.64, 69.31, 306.69°) |
| OKLab | oklab(55.74% 0.0726 -0.158) |
| OKLCH | oklch(55.74% 0.174 294.7) |
| XYZ | xyz(22.9637, 15.7467, 59.5753) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.26
Purpley
#8756E4
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 3.78
Dark Periwinkle
#665FD1
ΔE00 5.21
Iris
#6258C4
ΔE00 5.29
Deep Lavender
#8D5EB7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D58CD #A8CD58
analogous
#586ECD #7D58CD #B758CD
triadic
#7D58CD #CD7D58 #58CD7D
tetradic
#7D58CD #CD586E #A8CD58 #58CDB7
square
#7D58CD #CD586E #A8CD58 #58CDB7
split-complementary
#7D58CD #CDB758 #6ECD58
monochromatic
#442783 #5D35B2 #7D58CD #A287DB #C6B6E9
Accessibility & contrast
On white
5.06
#7D58CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#7D58CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D58CD
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D58CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D58CD | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#69718A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7d58cd; /* rgb */ color: rgb(125, 88, 205); /* oklch */ color: oklch(55.7% 0.174 294.7);
Tailwind
colors: {
custom: {
50: '#a788dd',
500: '#7d58cd',
950: '#000000',
},
}SCSS
$custom: #7d58cd; $custom-light: #a788dd; $custom-dark: #000000;
JSON
{
"hex": "#7d58cd",
"rgb": {
"r": 125,
"g": 88,
"b": 205
},
"hsl": {
"h": 258.974,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.5574,
"c": 0.17385,
"h": 294.7
},
"luminance": 0.15747
}Semantic roles & 50–950 ramp
primary
#7D58CD
secondary
#C9D8A9
accent
#DD4BAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83