#7D5CAE#7D5CAE
#7D5CAE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.5% C 0.128 H 300.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CAE |
|---|---|
| RGB | rgb(125, 92, 174) |
| HSL | hsl(264, 34%, 52%) |
| HSV | hsv(264, 47%, 68%) |
| CMYK | cmyk(28.2%, 47.1%, 0%, 31.8%) |
| CIE-LAB | lab(45.73, 30.93, -39.04) |
| CIE-LCH | lch(45.73, 49.81, 308.39°) |
| OKLab | oklab(54.48% 0.0654 -0.1095) |
| OKLCH | oklch(54.48% 0.128 300.8) |
| XYZ | xyz(19.9228, 15.0702, 41.8954) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.45
Deep Lavender
#8D5EB7
ΔE00 3.60
Amethyst
#9B5FC0
ΔE00 6.68
Light Indigo
#6D5ACF
ΔE00 7.27
Slate Blue
#6A5ACD
ΔE00 7.40
Iris
#6258C4
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CAE #8DAE5C
analogous
#5C64AE #7D5CAE #A65CAE
triadic
#7D5CAE #AE7D5C #5CAE7D
tetradic
#7D5CAE #AE5C64 #8DAE5C #5CAEA6
square
#7D5CAE #AE5C64 #8DAE5C #5CAEA6
split-complementary
#7D5CAE #AEA65C #64AE5C
monochromatic
#433060 #604489 #7D5CAE #9E85C2 #BEAED7
Accessibility & contrast
On white
5.23
#7D5CAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7D5CAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5CAE
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5CAE | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446CB1
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#746B7D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d5cae; /* rgb */ color: rgb(125, 92, 174); /* oklch */ color: oklch(54.5% 0.128 300.8);
Tailwind
colors: {
custom: {
50: '#a58bc6',
500: '#7d5cae',
950: '#000000',
},
}SCSS
$custom: #7d5cae; $custom-light: #a58bc6; $custom-dark: #000000;
JSON
{
"hex": "#7d5cae",
"rgb": {
"r": 125,
"g": 92,
"b": 174
},
"hsl": {
"h": 264.146,
"s": 33.607,
"l": 52.157
},
"oklch": {
"l": 0.54478,
"c": 0.12752,
"h": 300.8
},
"luminance": 0.1507
}Semantic roles & 50–950 ramp
primary
#7D5CAE
secondary
#B6C5A1
accent
#CA5E9E
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82