#7E50BB#7E50BB
#7E50BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.163 H 300.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E50BB |
|---|---|
| RGB | rgb(126, 80, 187) |
| HSL | hsl(266, 44%, 52%) |
| HSV | hsv(266, 57%, 73%) |
| CMYK | cmyk(32.6%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(43.89, 41.43, -49.57) |
| CIE-LCH | lch(43.89, 64.60, 309.88°) |
| OKLab | oklab(53.38% 0.0838 -0.1403) |
| OKLCH | oklch(53.38% 0.163 300.8) |
| XYZ | xyz(20.4404, 13.7607, 48.5833) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.20
Deep Lavender
#8D5EB7
ΔE00 5.51
Light Indigo
#6D5ACF
ΔE00 5.95
Slate Blue
#6A5ACD
ΔE00 6.21
Purpley
#8756E4
ΔE00 6.62
Iris
#6258C4
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E50BB #8DBB50
analogous
#5058BB #7E50BB #B350BB
triadic
#7E50BB #BB7E50 #50BB7E
tetradic
#7E50BB #BB5058 #8DBB50 #50BBB3
square
#7E50BB #BB5058 #8DBB50 #50BBB3
split-complementary
#7E50BB #BBB350 #58BB50
monochromatic
#442868 #613A94 #7E50BB #9E7CCC #BFA8DD
Accessibility & contrast
On white
5.60
#7E50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7E50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E50BB
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E50BB | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#72667E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7e50bb; /* rgb */ color: rgb(126, 80, 187); /* oklch */ color: oklch(53.4% 0.163 300.8);
Tailwind
colors: {
custom: {
50: '#a783d0',
500: '#7e50bb',
950: '#000000',
},
}SCSS
$custom: #7e50bb; $custom-light: #a783d0; $custom-dark: #000000;
JSON
{
"hex": "#7e50bb",
"rgb": {
"r": 126,
"g": 80,
"b": 187
},
"hsl": {
"h": 265.794,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.53378,
"c": 0.16338,
"h": 300.8
},
"luminance": 0.13761
}Semantic roles & 50–950 ramp
primary
#7E50BB
secondary
#B7CB9C
accent
#D4549D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82