#7E4BBD#7E4BBD
#7E4BBD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.173 H 301.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4BBD |
|---|---|
| RGB | rgb(126, 75, 189) |
| HSL | hsl(267, 46%, 52%) |
| HSV | hsv(267, 60%, 74%) |
| CMYK | cmyk(33.3%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(42.98, 44.68, -52.21) |
| CIE-LCH | lch(42.98, 68.72, 310.56°) |
| OKLab | oklab(52.75% 0.09 -0.148) |
| OKLCH | oklch(52.75% 0.173 301.3) |
| XYZ | xyz(20.3034, 13.1418, 49.6012) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.90
Bluey Purple
#6241C7
ΔE00 6.09
Darkorchid
#9932CC
ΔE00 6.13
Purply
#983FB2
ΔE00 6.32
Light Indigo
#6D5ACF
ΔE00 6.47
Deep Lavender
#8D5EB7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4BBD #8ABD4B
analogous
#4B51BD #7E4BBD #B74BBD
triadic
#7E4BBD #BD7E4B #4BBD7E
tetradic
#7E4BBD #BD4B51 #8ABD4B #4BBDB7
square
#7E4BBD #BD4B51 #8ABD4B #4BBDB7
split-complementary
#7E4BBD #BDB74B #51BD4B
monochromatic
#432668 #603694 #7E4BBD #9E78CD #BEA5DE
Accessibility & contrast
On white
5.79
#7E4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7E4BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4BBD
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4BBD | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0565C1
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#71637D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7e4bbd; /* rgb */ color: rgb(126, 75, 189); /* oklch */ color: oklch(52.8% 0.173 301.3);
Tailwind
colors: {
custom: {
50: '#a780d1',
500: '#7e4bbd',
950: '#000000',
},
}SCSS
$custom: #7e4bbd; $custom-light: #a780d1; $custom-dark: #000000;
JSON
{
"hex": "#7e4bbd",
"rgb": {
"r": 126,
"g": 75,
"b": 189
},
"hsl": {
"h": 266.842,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.52752,
"c": 0.1732,
"h": 301.3
},
"luminance": 0.13142
}Semantic roles & 50–950 ramp
primary
#7E4BBD
secondary
#B5CB99
accent
#D6529B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82