#7D5EB5#7D5EB5
#7D5EB5 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.2% C 0.134 H 298.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5EB5 |
|---|---|
| RGB | rgb(125, 94, 181) |
| HSL | hsl(261, 37%, 54%) |
| HSV | hsv(261, 48%, 71%) |
| CMYK | cmyk(30.9%, 48.1%, 0%, 29%) |
| CIE-LAB | lab(46.58, 31.56, -41.78) |
| CIE-LCH | lch(46.58, 52.36, 307.06°) |
| OKLab | oklab(55.24% 0.0635 -0.1175) |
| OKLCH | oklch(55.24% 0.134 298.4) |
| XYZ | xyz(20.7986, 15.7014, 45.6420) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.61
Royal Purple
#7851A9
ΔE00 4.32
Light Indigo
#6D5ACF
ΔE00 6.13
Slate Blue
#6A5ACD
ΔE00 6.31
Amethyst
#9B5FC0
ΔE00 6.48
Iris
#6258C4
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5EB5 #96B55E
analogous
#5E6BB5 #7D5EB5 #A95EB5
triadic
#7D5EB5 #B57D5E #5EB57D
tetradic
#7D5EB5 #B55E6B #96B55E #5EB5A9
square
#7D5EB5 #B55E6B #96B55E #5EB5A9
split-complementary
#7D5EB5 #B5A95E #6BB55E
monochromatic
#443069 #604392 #7D5EB5 #9F88C8 #C1B2DC
Accessibility & contrast
On white
5.07
#7D5EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#7D5EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5EB5
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5EB5 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426EB8
Deuteranopia (green-blind)
#496EB3
Tritanopia (blue-blind)
#716E81
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7d5eb5; /* rgb */ color: rgb(125, 94, 181); /* oklch */ color: oklch(55.2% 0.134 298.4);
Tailwind
colors: {
custom: {
50: '#a58ccb',
500: '#7d5eb5',
950: '#000000',
},
}SCSS
$custom: #7d5eb5; $custom-light: #a58ccb; $custom-dark: #000000;
JSON
{
"hex": "#7d5eb5",
"rgb": {
"r": 125,
"g": 94,
"b": 181
},
"hsl": {
"h": 261.379,
"s": 37.021,
"l": 53.922
},
"oklch": {
"l": 0.55237,
"c": 0.13355,
"h": 298.4
},
"luminance": 0.15702
}Semantic roles & 50–950 ramp
primary
#7D5EB5
secondary
#BDCAA5
accent
#CD5BA4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82