#7526C5#7526C5
#7526C5 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.224 H 300.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7526C5 |
|---|---|
| RGB | rgb(117, 38, 197) |
| HSL | hsl(270, 68%, 46%) |
| HSV | hsv(270, 81%, 77%) |
| CMYK | cmyk(40.6%, 80.7%, 0%, 22.7%) |
| CIE-LAB | lab(36.37, 61.98, -67.67) |
| CIE-LCH | lch(36.37, 91.76, 312.49°) |
| OKLab | oklab(47.99% 0.1124 -0.1935) |
| OKLCH | oklch(47.99% 0.224 300.1) |
| XYZ | xyz(18.1047, 9.1992, 53.6343) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.03
Darkviolet
#9400D3
ΔE00 4.98
Burple
#6832E3
ΔE00 5.02
Purply Blue
#661AEE
ΔE00 5.38
Blueviolet
#8A2BE2
ΔE00 5.44
Blue Violet
#5D06E9
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7526C5 #76C526
analogous
#2626C5 #7526C5 #C426C5
triadic
#7526C5 #C57526 #26C575
tetradic
#7526C5 #C52626 #76C526 #26C5C4
square
#7526C5 #C52626 #76C526 #26C5C4
split-complementary
#7526C5 #C5C426 #26C526
monochromatic
#38125E #571C92 #7526C5 #944CDC #B27FE6
Accessibility & contrast
On white
7.39
#7526C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#7526C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7526C5
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7526C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7526C5 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#625377
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7526c5; /* rgb */ color: rgb(117, 38, 197); /* oklch */ color: oklch(48.0% 0.224 300.1);
Tailwind
colors: {
custom: {
50: '#a46bd8',
500: '#7526c5',
950: '#000000',
},
}SCSS
$custom: #7526c5; $custom-light: #a46bd8; $custom-dark: #000000;
JSON
{
"hex": "#7526c5",
"rgb": {
"r": 117,
"g": 38,
"b": 197
},
"hsl": {
"h": 269.811,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.47989,
"c": 0.22382,
"h": 300.1
},
"luminance": 0.09199
}Semantic roles & 50–950 ramp
primary
#7526C5
secondary
#A4CF78
accent
#EB3D94
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83