#7D5BB0#7D5BB0
#7D5BB0 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.4% C 0.132 H 300.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5BB0 |
|---|---|
| RGB | rgb(125, 91, 176) |
| HSL | hsl(264, 35%, 52%) |
| HSV | hsv(264, 48%, 69%) |
| CMYK | cmyk(29%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(45.60, 32.03, -40.41) |
| CIE-LCH | lch(45.60, 51.57, 308.40°) |
| OKLab | oklab(54.42% 0.067 -0.1135) |
| OKLCH | oklch(54.42% 0.132 300.6) |
| XYZ | xyz(20.0332, 14.9766, 42.9012) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.20
Deep Lavender
#8D5EB7
ΔE00 3.59
Amethyst
#9B5FC0
ΔE00 6.64
Light Indigo
#6D5ACF
ΔE00 6.87
Slate Blue
#6A5ACD
ΔE00 7.01
Iris
#6258C4
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5BB0 #8EB05B
analogous
#5B64B0 #7D5BB0 #A75BB0
triadic
#7D5BB0 #B07D5B #5BB07D
tetradic
#7D5BB0 #B05B64 #8EB05B #5BB0A7
square
#7D5BB0 #B05B64 #8EB05B #5BB0A7
split-complementary
#7D5BB0 #B0A75B #64B05B
monochromatic
#432F62 #60438B #7D5BB0 #9E84C4 #BEAED8
Accessibility & contrast
On white
5.26
#7D5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#7D5BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5BB0
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5BB0 | 1.00 | 5.26 | 4.00 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416CB3
Deuteranopia (green-blind)
#496BAE
Tritanopia (blue-blind)
#736A7D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d5bb0; /* rgb */ color: rgb(125, 91, 176); /* oklch */ color: oklch(54.4% 0.132 300.6);
Tailwind
colors: {
custom: {
50: '#a58ac8',
500: '#7d5bb0',
950: '#000000',
},
}SCSS
$custom: #7d5bb0; $custom-light: #a58ac8; $custom-dark: #000000;
JSON
{
"hex": "#7d5bb0",
"rgb": {
"r": 125,
"g": 91,
"b": 176
},
"hsl": {
"h": 264,
"s": 34.979,
"l": 52.353
},
"oklch": {
"l": 0.54417,
"c": 0.13181,
"h": 300.6
},
"luminance": 0.14977
}Semantic roles & 50–950 ramp
primary
#7D5BB0
secondary
#B7C6A1
accent
#CB5D9F
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82