#7D5BB2#7D5BB2
#7D5BB2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.5% C 0.134 H 300.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5BB2 |
|---|---|
| RGB | rgb(125, 91, 178) |
| HSL | hsl(263, 36%, 53%) |
| HSV | hsv(263, 49%, 70%) |
| CMYK | cmyk(29.8%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(45.71, 32.55, -41.41) |
| CIE-LCH | lch(45.71, 52.67, 308.17°) |
| OKLab | oklab(54.53% 0.0673 -0.1164) |
| OKLCH | oklch(54.53% 0.134 300) |
| XYZ | xyz(20.2325, 15.0564, 43.9511) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.30
Deep Lavender
#8D5EB7
ΔE00 3.60
Light Indigo
#6D5ACF
ΔE00 6.51
Amethyst
#9B5FC0
ΔE00 6.59
Slate Blue
#6A5ACD
ΔE00 6.67
Iris
#6258C4
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5BB2 #90B25B
analogous
#5B64B2 #7D5BB2 #A85BB2
triadic
#7D5BB2 #B27D5B #5BB27D
tetradic
#7D5BB2 #B25B64 #90B25B #5BB2A8
square
#7D5BB2 #B25B64 #90B25B #5BB2A8
split-complementary
#7D5BB2 #B2A85B #64B25B
monochromatic
#442F64 #60428D #7D5BB2 #9E85C6 #BFAED9
Accessibility & contrast
On white
5.24
#7D5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7D5BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5BB2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5BB2 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#476CB0
Tritanopia (blue-blind)
#736B7E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d5bb2; /* rgb */ color: rgb(125, 91, 178); /* oklch */ color: oklch(54.5% 0.134 300.0);
Tailwind
colors: {
custom: {
50: '#a58ac9',
500: '#7d5bb2',
950: '#000000',
},
}SCSS
$custom: #7d5bb2; $custom-light: #a58ac9; $custom-dark: #000000;
JSON
{
"hex": "#7d5bb2",
"rgb": {
"r": 125,
"g": 91,
"b": 178
},
"hsl": {
"h": 263.448,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.54534,
"c": 0.13445,
"h": 300
},
"luminance": 0.15056
}Semantic roles & 50–950 ramp
primary
#7D5BB2
secondary
#B9C7A2
accent
#CC5CA0
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82