#7530B5#7530B5
#7530B5 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.198 H 303.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7530B5 |
|---|---|
| RGB | rgb(117, 48, 181) |
| HSL | hsl(271, 58%, 45%) |
| HSV | hsv(271, 73%, 71%) |
| CMYK | cmyk(35.4%, 73.5%, 0%, 29%) |
| CIE-LAB | lab(36.43, 54.24, -58.15) |
| CIE-LCH | lch(36.43, 79.52, 313.01°) |
| OKLab | oklab(47.62% 0.1082 -0.1657) |
| OKLCH | oklch(47.62% 0.198 303.2) |
| XYZ | xyz(16.7316, 9.2320, 44.6076) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.71
Purple (survey)
#7E1E9C
ΔE00 5.46
Bluey Purple
#6241C7
ΔE00 5.83
Purple Blue
#5D21D0
ΔE00 5.92
Darkviolet
#9400D3
ΔE00 6.11
Blurple
#5539CC
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7530B5 #70B530
analogous
#3330B5 #7530B5 #B530B3
triadic
#7530B5 #B57530 #30B575
tetradic
#7530B5 #B53330 #70B530 #30B3B5
square
#7530B5 #B53330 #70B530 #30B3B5
split-complementary
#7530B5 #B3B530 #30B533
monochromatic
#361654 #562385 #7530B5 #9451D1 #B182DE
Accessibility & contrast
On white
7.38
#7530B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7530B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7530B5
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7530B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7530B5 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#685170
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7530b5; /* rgb */ color: rgb(117, 48, 181); /* oklch */ color: oklch(47.6% 0.198 303.2);
Tailwind
colors: {
custom: {
50: '#a26fcc',
500: '#7530b5',
950: '#000000',
},
}SCSS
$custom: #7530b5; $custom-light: #a26fcc; $custom-dark: #000000;
JSON
{
"hex": "#7530b5",
"rgb": {
"r": 117,
"g": 48,
"b": 181
},
"hsl": {
"h": 271.128,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.47624,
"c": 0.19789,
"h": 303.2
},
"luminance": 0.09232
}Semantic roles & 50–950 ramp
primary
#7530B5
secondary
#9FC77A
accent
#E14691
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82