#7E52BB#7E52BB
#7E52BB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.7% C 0.160 H 300.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7E52BB |
|---|---|
| RGB | rgb(126, 82, 187) |
| HSL | hsl(265, 44%, 53%) |
| HSV | hsv(265, 56%, 73%) |
| CMYK | cmyk(32.6%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(44.32, 40.30, -48.89) |
| CIE-LCH | lch(44.32, 63.36, 309.50°) |
| OKLab | oklab(53.69% 0.0812 -0.1383) |
| OKLCH | oklch(53.69% 0.16 300.4) |
| XYZ | xyz(20.5890, 14.0579, 48.6328) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.17
Deep Lavender
#8D5EB7
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 5.98
Purpley
#8756E4
ΔE00 6.48
Iris
#6258C4
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E52BB #8FBB52
analogous
#525ABB #7E52BB #B252BB
triadic
#7E52BB #BB7E52 #52BB7E
tetradic
#7E52BB #BB525A #8FBB52 #52BBB2
square
#7E52BB #BB525A #8FBB52 #52BBB2
split-complementary
#7E52BB #BBB252 #5ABB52
monochromatic
#442969 #613B95 #7E52BB #9F7ECC #C0AADE
Accessibility & contrast
On white
5.51
#7E52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7E52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E52BB
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E52BB | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#71677E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7e52bb; /* rgb */ color: rgb(126, 82, 187); /* oklch */ color: oklch(53.7% 0.160 300.4);
Tailwind
colors: {
custom: {
50: '#a784d0',
500: '#7e52bb',
950: '#000000',
},
}SCSS
$custom: #7e52bb; $custom-light: #a784d0; $custom-dark: #000000;
JSON
{
"hex": "#7e52bb",
"rgb": {
"r": 126,
"g": 82,
"b": 187
},
"hsl": {
"h": 265.143,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.53693,
"c": 0.16034,
"h": 300.4
},
"luminance": 0.14058
}Semantic roles & 50–950 ramp
primary
#7E52BB
secondary
#B8CB9E
accent
#D3549E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82