#7E4BCC#7E4BCC
#7E4BCC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.191 H 297.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4BCC |
|---|---|
| RGB | rgb(126, 75, 204) |
| HSL | hsl(264, 56%, 55%) |
| HSV | hsv(264, 63%, 80%) |
| CMYK | cmyk(38.2%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(43.98, 48.52, -59.28) |
| CIE-LCH | lch(43.98, 76.61, 309.30°) |
| OKLab | oklab(53.81% 0.0891 -0.1688) |
| OKLCH | oklch(53.81% 0.191 297.8) |
| XYZ | xyz(22.0166, 13.8271, 58.6240) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.98
Bluish Purple
#703BE7
ΔE00 5.33
Light Indigo
#6D5ACF
ΔE00 5.35
Bluey Purple
#6241C7
ΔE00 5.56
Slate Blue
#6A5ACD
ΔE00 5.73
Blueviolet
#8A2BE2
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4BCC #99CC4B
analogous
#4B59CC #7E4BCC #BF4BCC
triadic
#7E4BCC #CC7E4B #4BCC7E
tetradic
#7E4BCC #CC4B59 #99CC4B #4BCCBF
square
#7E4BCC #CC4B59 #99CC4B #4BCCBF
split-complementary
#7E4BCC #CCBF4B #59CC4B
monochromatic
#45237A #6030AA #7E4BCC #A07BDA #C2AAE7
Accessibility & contrast
On white
5.58
#7E4BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#7E4BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4BCC
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4BCC | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0067C9
Tritanopia (blue-blind)
#6C6885
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7e4bcc; /* rgb */ color: rgb(126, 75, 204); /* oklch */ color: oklch(53.8% 0.191 297.8);
Tailwind
colors: {
custom: {
50: '#a980dc',
500: '#7e4bcc',
950: '#000000',
},
}SCSS
$custom: #7e4bcc; $custom-light: #a980dc; $custom-dark: #000000;
JSON
{
"hex": "#7e4bcc",
"rgb": {
"r": 126,
"g": 75,
"b": 204
},
"hsl": {
"h": 263.721,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.53805,
"c": 0.1909,
"h": 297.8
},
"luminance": 0.13827
}Semantic roles & 50–950 ramp
primary
#7E4BCC
secondary
#BFD59E
accent
#DF49A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83