#7D5AF6#7D5AF6
#7D5AF6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.222 H 288.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5AF6 |
|---|---|
| RGB | rgb(125, 90, 246) |
| HSL | hsl(253, 90%, 66%) |
| HSV | hsv(253, 63%, 96%) |
| CMYK | cmyk(49.2%, 63.4%, 0%, 3.5%) |
| CIE-LAB | lab(49.89, 51.61, -73.54) |
| CIE-LCH | lch(49.89, 89.84, 305.06°) |
| OKLab | oklab(59.01% 0.0683 -0.2107) |
| OKLCH | oklch(59.01% 0.222 288) |
| XYZ | xyz(28.7433, 18.3248, 89.1934) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.29
Mediumslateblue
#7B68EE
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 6.03
Dark Periwinkle
#665FD1
ΔE00 6.53
Slate Blue
#6A5ACD
ΔE00 6.53
Lighter Purple
#A55AF4
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5AF6 #D3F65A
analogous
#5A85F6 #7D5AF6 #CB5AF6
triadic
#7D5AF6 #F67D5A #5AF67D
tetradic
#7D5AF6 #F65A85 #D3F65A #5AF6CB
square
#7D5AF6 #F65A85 #D3F65A #5AF6CB
split-complementary
#7D5AF6 #F6CB5A #85F65A
monochromatic
#360BCB #4F20F3 #7D5AF6 #AB94F9 #D8CEFC
Accessibility & contrast
On white
4.50
#7D5AF6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#7D5AF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5AF6
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5AF6 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#5280A0
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7d5af6; /* rgb */ color: rgb(125, 90, 246); /* oklch */ color: oklch(59.0% 0.222 288.0);
Tailwind
colors: {
custom: {
50: '#ac8afa',
500: '#7d5af6',
950: '#000000',
},
}SCSS
$custom: #7d5af6; $custom-light: #ac8afa; $custom-dark: #000000;
JSON
{
"hex": "#7d5af6",
"rgb": {
"r": 125,
"g": 90,
"b": 246
},
"hsl": {
"h": 253.462,
"s": 89.655,
"l": 65.882
},
"oklch": {
"l": 0.59005,
"c": 0.22153,
"h": 288
},
"luminance": 0.18326
}Semantic roles & 50–950 ramp
primary
#7D5AF6
secondary
#E4F0BC
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85