#7F58DD#7F58DD
#7F58DD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.194 H 292.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7F58DD |
|---|---|
| RGB | rgb(127, 88, 221) |
| HSL | hsl(258, 66%, 61%) |
| HSV | hsv(258, 60%, 87%) |
| CMYK | cmyk(42.5%, 60.2%, 0%, 13.3%) |
| CIE-LAB | lab(47.89, 46.19, -62.69) |
| CIE-LCH | lch(47.89, 77.86, 306.38°) |
| OKLab | oklab(57.04% 0.0748 -0.1788) |
| OKLCH | oklch(57.04% 0.194 292.7) |
| XYZ | xyz(25.2897, 16.7112, 70.2857) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.69
Light Indigo
#6D5ACF
ΔE00 3.81
Slate Blue
#6A5ACD
ΔE00 4.43
Dark Periwinkle
#665FD1
ΔE00 5.35
Mediumslateblue
#7B68EE
ΔE00 5.51
Iris
#6258C4
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F58DD #B6DD58
analogous
#5873DD #7F58DD #C158DD
triadic
#7F58DD #DD7F58 #58DD7F
tetradic
#7F58DD #DD5873 #B6DD58 #58DDC1
square
#7F58DD #DD5873 #B6DD58 #58DDC1
split-complementary
#7F58DD #DDC158 #73DD58
monochromatic
#44209B #5A2ACE #7F58DD #A68BE7 #CDBEF2
Accessibility & contrast
On white
4.84
#7F58DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#7F58DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F58DD
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F58DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F58DD | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#657692
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7f58dd; /* rgb */ color: rgb(127, 88, 221); /* oklch */ color: oklch(57.0% 0.194 292.7);
Tailwind
colors: {
custom: {
50: '#aa89e8',
500: '#7f58dd',
950: '#000000',
},
}SCSS
$custom: #7f58dd; $custom-light: #aa89e8; $custom-dark: #000000;
JSON
{
"hex": "#7f58dd",
"rgb": {
"r": 127,
"g": 88,
"b": 221
},
"hsl": {
"h": 257.594,
"s": 66.169,
"l": 60.588
},
"oklch": {
"l": 0.57042,
"c": 0.19382,
"h": 292.7
},
"luminance": 0.16712
}Semantic roles & 50–950 ramp
primary
#7F58DD
secondary
#D3E2AF
accent
#CE1798
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84