#7E4BCF#7E4BCF
#7E4BCF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.194 H 297.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4BCF |
|---|---|
| RGB | rgb(126, 75, 207) |
| HSL | hsl(263, 58%, 55%) |
| HSV | hsv(263, 64%, 81%) |
| CMYK | cmyk(39.1%, 63.8%, 0%, 18.8%) |
| CIE-LAB | lab(44.19, 49.30, -60.67) |
| CIE-LCH | lch(44.19, 78.18, 309.09°) |
| OKLab | oklab(54.02% 0.0889 -0.1729) |
| OKLCH | oklch(54.02% 0.194 297.2) |
| XYZ | xyz(22.3799, 13.9724, 60.5372) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.66
Bluish Purple
#703BE7
ΔE00 5.05
Light Indigo
#6D5ACF
ΔE00 5.24
Bluey Purple
#6241C7
ΔE00 5.59
Slate Blue
#6A5ACD
ΔE00 5.63
Blueviolet
#8A2BE2
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4BCF #9CCF4B
analogous
#4B5ACF #7E4BCF #C04BCF
triadic
#7E4BCF #CF7E4B #4BCF7E
tetradic
#7E4BCF #CF4B5A #9CCF4B #4BCFC0
square
#7E4BCF #CF4B5A #9CCF4B #4BCFC0
split-complementary
#7E4BCF #CFC04B #5ACF4B
monochromatic
#45227E #602EAE #7E4BCF #A17BDC #C3ACE9
Accessibility & contrast
On white
5.53
#7E4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#7E4BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4BCF
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4BCF | 1.00 | 5.53 | 3.79 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#6A6986
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7e4bcf; /* rgb */ color: rgb(126, 75, 207); /* oklch */ color: oklch(54.0% 0.194 297.2);
Tailwind
colors: {
custom: {
50: '#a980de',
500: '#7e4bcf',
950: '#000000',
},
}SCSS
$custom: #7e4bcf; $custom-light: #a980de; $custom-dark: #000000;
JSON
{
"hex": "#7e4bcf",
"rgb": {
"r": 126,
"g": 75,
"b": 207
},
"hsl": {
"h": 263.182,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.54022,
"c": 0.1944,
"h": 297.2
},
"luminance": 0.13973
}Semantic roles & 50–950 ramp
primary
#7E4BCF
secondary
#C1D69F
accent
#E147A5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83