#7E4BC2#7E4BC2
#7E4BC2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.179 H 300.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4BC2 |
|---|---|
| RGB | rgb(126, 75, 194) |
| HSL | hsl(266, 49%, 53%) |
| HSV | hsv(266, 61%, 76%) |
| CMYK | cmyk(35.1%, 61.3%, 0%, 23.9%) |
| CIE-LAB | lab(43.30, 45.95, -54.59) |
| CIE-LCH | lch(43.30, 71.36, 310.09°) |
| OKLab | oklab(53.1% 0.0898 -0.155) |
| OKLCH | oklch(53.1% 0.179 300.1) |
| XYZ | xyz(20.8555, 13.3627, 52.5090) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.59
Bluey Purple
#6241C7
ΔE00 5.78
Light Indigo
#6D5ACF
ΔE00 6.01
Darkorchid
#9932CC
ΔE00 6.04
Purpley
#8756E4
ΔE00 6.17
Slate Blue
#6A5ACD
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4BC2 #8FC24B
analogous
#4B53C2 #7E4BC2 #B94BC2
triadic
#7E4BC2 #C27E4B #4BC27E
tetradic
#7E4BC2 #C24B53 #8FC24B #4BC2B9
square
#7E4BC2 #C24B53 #8FC24B #4BC2B9
split-complementary
#7E4BC2 #C2B94B #53C24B
monochromatic
#44256D #61359B #7E4BC2 #9F79D1 #C0A6E1
Accessibility & contrast
On white
5.72
#7E4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7E4BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4BC2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4BC2 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#2065BF
Tritanopia (blue-blind)
#6F647F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7e4bc2; /* rgb */ color: rgb(126, 75, 194); /* oklch */ color: oklch(53.1% 0.179 300.1);
Tailwind
colors: {
custom: {
50: '#a880d5',
500: '#7e4bc2',
950: '#000000',
},
}SCSS
$custom: #7e4bc2; $custom-light: #a880d5; $custom-dark: #000000;
JSON
{
"hex": "#7e4bc2",
"rgb": {
"r": 126,
"g": 75,
"b": 194
},
"hsl": {
"h": 265.714,
"s": 49.378,
"l": 52.745
},
"oklch": {
"l": 0.53096,
"c": 0.17912,
"h": 300.1
},
"luminance": 0.13363
}Semantic roles & 50–950 ramp
primary
#7E4BC2
secondary
#B8CE9B
accent
#D94F9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83