#7E48CF#7E48CF
#7E48CF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.198 H 297.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7E48CF |
|---|---|
| RGB | rgb(126, 72, 207) |
| HSL | hsl(264, 58%, 55%) |
| HSV | hsv(264, 65%, 81%) |
| CMYK | cmyk(39.1%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(43.62, 50.87, -61.61) |
| CIE-LCH | lch(43.62, 79.89, 309.54°) |
| OKLab | oklab(53.61% 0.0922 -0.1756) |
| OKLCH | oklch(53.61% 0.198 297.7) |
| XYZ | xyz(22.1812, 13.5750, 60.4710) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.64
Blueviolet
#8A2BE2
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.19
Bluey Purple
#6241C7
ΔE00 5.26
Darkorchid
#9932CC
ΔE00 5.80
Light Indigo
#6D5ACF
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E48CF #99CF48
analogous
#4856CF #7E48CF #C248CF
triadic
#7E48CF #CF7E48 #48CF7E
tetradic
#7E48CF #CF4856 #99CF48 #48CFC2
square
#7E48CF #CF4856 #99CF48 #48CFC2
split-complementary
#7E48CF #CFC248 #56CF48
monochromatic
#45217C #602DAD #7E48CF #A078DC #C2A9E8
Accessibility & contrast
On white
5.65
#7E48CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#7E48CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E48CF
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E48CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E48CF | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#6A6785
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7e48cf; /* rgb */ color: rgb(126, 72, 207); /* oklch */ color: oklch(53.6% 0.198 297.7);
Tailwind
colors: {
custom: {
50: '#a97edf',
500: '#7e48cf',
950: '#000000',
},
}SCSS
$custom: #7e48cf; $custom-light: #a97edf; $custom-dark: #000000;
JSON
{
"hex": "#7e48cf",
"rgb": {
"r": 126,
"g": 72,
"b": 207
},
"hsl": {
"h": 264,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.53607,
"c": 0.19834,
"h": 297.7
},
"luminance": 0.13575
}Semantic roles & 50–950 ramp
primary
#7E48CF
secondary
#BFD69D
accent
#E246A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83