#7E50BF#7E50BF
#7E50BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.168 H 299.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7E50BF |
|---|---|
| RGB | rgb(126, 80, 191) |
| HSL | hsl(265, 46%, 53%) |
| HSV | hsv(265, 58%, 75%) |
| CMYK | cmyk(34%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(44.14, 42.45, -51.50) |
| CIE-LCH | lch(44.14, 66.74, 309.50°) |
| OKLab | oklab(53.64% 0.0838 -0.1459) |
| OKLCH | oklch(53.64% 0.168 299.9) |
| XYZ | xyz(20.8745, 13.9344, 50.8700) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.83
Light Indigo
#6D5ACF
ΔE00 5.49
Deep Lavender
#8D5EB7
ΔE00 5.75
Slate Blue
#6A5ACD
ΔE00 5.79
Purpley
#8756E4
ΔE00 6.02
Iris
#6258C4
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E50BF #91BF50
analogous
#5059BF #7E50BF #B650BF
triadic
#7E50BF #BF7E50 #50BF7E
tetradic
#7E50BF #BF5059 #91BF50 #50BFB6
square
#7E50BF #BF5059 #91BF50 #50BFB6
split-complementary
#7E50BF #BFB650 #59BF50
monochromatic
#44286D #61389A #7E50BF #9F7DCF #C0AAE0
Accessibility & contrast
On white
5.55
#7E50BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#7E50BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E50BF
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E50BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E50BF | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#706780
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7e50bf; /* rgb */ color: rgb(126, 80, 191); /* oklch */ color: oklch(53.6% 0.168 299.9);
Tailwind
colors: {
custom: {
50: '#a783d3',
500: '#7e50bf',
950: '#000000',
},
}SCSS
$custom: #7e50bf; $custom-light: #a783d3; $custom-dark: #000000;
JSON
{
"hex": "#7e50bf",
"rgb": {
"r": 126,
"g": 80,
"b": 191
},
"hsl": {
"h": 264.865,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.53643,
"c": 0.16827,
"h": 299.9
},
"luminance": 0.13935
}Semantic roles & 50–950 ramp
primary
#7E50BF
secondary
#B9CD9D
accent
#D6529F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83