#7530B6#7530B6
#7530B6 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.199 H 302.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7530B6 |
|---|---|
| RGB | rgb(117, 48, 182) |
| HSL | hsl(271, 58%, 45%) |
| HSV | hsv(271, 74%, 71%) |
| CMYK | cmyk(35.7%, 73.6%, 0%, 28.6%) |
| CIE-LAB | lab(36.51, 54.48, -58.61) |
| CIE-LCH | lch(36.51, 80.02, 312.91°) |
| OKLab | oklab(47.7% 0.108 -0.167) |
| OKLCH | oklch(47.7% 0.199 302.9) |
| XYZ | xyz(16.8346, 9.2732, 45.1499) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.83
Purple (survey)
#7E1E9C
ΔE00 5.59
Bluey Purple
#6241C7
ΔE00 5.73
Purple Blue
#5D21D0
ΔE00 5.82
Darkviolet
#9400D3
ΔE00 6.04
Blurple
#5539CC
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7530B6 #71B630
analogous
#3230B6 #7530B6 #B630B4
triadic
#7530B6 #B67530 #30B675
tetradic
#7530B6 #B63230 #71B630 #30B4B6
square
#7530B6 #B63230 #71B630 #30B4B6
split-complementary
#7530B6 #B4B630 #30B632
monochromatic
#371655 #562386 #7530B6 #9452D1 #B282DE
Accessibility & contrast
On white
7.36
#7530B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7530B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7530B6
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7530B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7530B6 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#685170
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7530b6; /* rgb */ color: rgb(117, 48, 182); /* oklch */ color: oklch(47.7% 0.199 302.9);
Tailwind
colors: {
custom: {
50: '#a26fcd',
500: '#7530b6',
950: '#000000',
},
}SCSS
$custom: #7530b6; $custom-light: #a26fcd; $custom-dark: #000000;
JSON
{
"hex": "#7530b6",
"rgb": {
"r": 117,
"g": 48,
"b": 182
},
"hsl": {
"h": 270.896,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.47704,
"c": 0.19893,
"h": 302.9
},
"luminance": 0.09273
}Semantic roles & 50–950 ramp
primary
#7530B6
secondary
#A0C77B
accent
#E14692
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82