#7E4BC4#7E4BC4
#7E4BC4 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.181 H 299.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4BC4 |
|---|---|
| RGB | rgb(126, 75, 196) |
| HSL | hsl(265, 51%, 53%) |
| HSV | hsv(265, 62%, 77%) |
| CMYK | cmyk(35.7%, 61.7%, 0%, 23.1%) |
| CIE-LAB | lab(43.44, 46.46, -55.54) |
| CIE-LCH | lch(43.44, 72.41, 309.92°) |
| OKLab | oklab(53.24% 0.0897 -0.1578) |
| OKLCH | oklch(53.24% 0.181 299.6) |
| XYZ | xyz(21.0816, 13.4531, 53.6999) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.87
Bluey Purple
#6241C7
ΔE00 5.70
Light Indigo
#6D5ACF
ΔE00 5.84
Purpley
#8756E4
ΔE00 5.92
Darkorchid
#9932CC
ΔE00 6.03
Slate Blue
#6A5ACD
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4BC4 #91C44B
analogous
#4B54C4 #7E4BC4 #BA4BC4
triadic
#7E4BC4 #C47E4B #4BC47E
tetradic
#7E4BC4 #C44B54 #91C44B #4BC4BA
square
#7E4BC4 #C44B54 #91C44B #4BC4BA
split-complementary
#7E4BC4 #C4BA4B #54C44B
monochromatic
#442570 #61349E #7E4BC4 #9F79D3 #C0A7E2
Accessibility & contrast
On white
5.69
#7E4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7E4BC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4BC4
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4BC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4BC4 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1C66C1
Tritanopia (blue-blind)
#6F6580
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7e4bc4; /* rgb */ color: rgb(126, 75, 196); /* oklch */ color: oklch(53.2% 0.181 299.6);
Tailwind
colors: {
custom: {
50: '#a880d7',
500: '#7e4bc4',
950: '#000000',
},
}SCSS
$custom: #7e4bc4; $custom-light: #a880d7; $custom-dark: #000000;
JSON
{
"hex": "#7e4bc4",
"rgb": {
"r": 126,
"g": 75,
"b": 196
},
"hsl": {
"h": 265.289,
"s": 50.628,
"l": 53.137
},
"oklch": {
"l": 0.53236,
"c": 0.18149,
"h": 299.6
},
"luminance": 0.13453
}Semantic roles & 50–950 ramp
primary
#7E4BC4
secondary
#B9CF9B
accent
#DA4E9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83