#7D5AEF#7D5AEF
#7D5AEF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.213 H 288.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5AEF |
|---|---|
| RGB | rgb(125, 90, 239) |
| HSL | hsl(254, 82%, 65%) |
| HSV | hsv(254, 62%, 94%) |
| CMYK | cmyk(47.7%, 62.3%, 0%, 6.3%) |
| CIE-LAB | lab(49.38, 49.65, -70.45) |
| CIE-LCH | lch(49.38, 86.19, 305.18°) |
| OKLab | oklab(58.48% 0.0689 -0.2017) |
| OKLCH | oklch(58.48% 0.213 288.9) |
| XYZ | xyz(27.6891, 17.9031, 83.6413) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.63
Mediumslateblue
#7B68EE
ΔE00 3.94
Light Indigo
#6D5ACF
ΔE00 5.23
Slate Blue
#6A5ACD
ΔE00 5.76
Dark Periwinkle
#665FD1
ΔE00 5.92
Lighter Purple
#A55AF4
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5AEF #CCEF5A
analogous
#5A82EF #7D5AEF #C85AEF
triadic
#7D5AEF #EF7D5A #5AEF7D
tetradic
#7D5AEF #EF5A82 #CCEF5A #5AEFC8
square
#7D5AEF #EF5A82 #CCEF5A #5AEFC8
split-complementary
#7D5AEF #EFC85A #82EF5A
monochromatic
#3A12BC #5122EA #7D5AEF #A992F4 #D5CAFA
Accessibility & contrast
On white
4.58
#7D5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#7D5AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5AEF
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5AEF | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#577D9C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7d5aef; /* rgb */ color: rgb(125, 90, 239); /* oklch */ color: oklch(58.5% 0.213 288.9);
Tailwind
colors: {
custom: {
50: '#ab8af5',
500: '#7d5aef',
950: '#000000',
},
}SCSS
$custom: #7d5aef; $custom-light: #ab8af5; $custom-dark: #000000;
JSON
{
"hex": "#7d5aef",
"rgb": {
"r": 125,
"g": 90,
"b": 239
},
"hsl": {
"h": 254.094,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.58476,
"c": 0.21312,
"h": 288.9
},
"luminance": 0.17904
}Semantic roles & 50–950 ramp
primary
#7D5AEF
secondary
#E0ECB9
accent
#DF07AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85