#7531B5#7531B5
#7531B5 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.197 H 303.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7531B5 |
|---|---|
| RGB | rgb(117, 49, 181) |
| HSL | hsl(271, 57%, 45%) |
| HSV | hsv(271, 73%, 71%) |
| CMYK | cmyk(35.4%, 72.9%, 0%, 29%) |
| CIE-LAB | lab(36.58, 53.80, -57.90) |
| CIE-LCH | lch(36.58, 79.03, 312.90°) |
| OKLab | oklab(47.74% 0.1073 -0.1649) |
| OKLCH | oklch(47.74% 0.197 303) |
| XYZ | xyz(16.7730, 9.3147, 44.6214) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.71
Purple (survey)
#7E1E9C
ΔE00 5.56
Bluey Purple
#6241C7
ΔE00 5.72
Purple Blue
#5D21D0
ΔE00 6.00
Darkviolet
#9400D3
ΔE00 6.16
Blurple
#5539CC
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7531B5 #71B531
analogous
#3331B5 #7531B5 #B531B3
triadic
#7531B5 #B57531 #31B575
tetradic
#7531B5 #B53331 #71B531 #31B3B5
square
#7531B5 #B53331 #71B531 #31B3B5
split-complementary
#7531B5 #B3B531 #31B533
monochromatic
#371755 #562485 #7531B5 #9453D0 #B283DD
Accessibility & contrast
On white
7.33
#7531B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#7531B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7531B5
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7531B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7531B5 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#685170
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7531b5; /* rgb */ color: rgb(117, 49, 181); /* oklch */ color: oklch(47.7% 0.197 303.0);
Tailwind
colors: {
custom: {
50: '#a26fcc',
500: '#7531b5',
950: '#000000',
},
}SCSS
$custom: #7531b5; $custom-light: #a26fcc; $custom-dark: #000000;
JSON
{
"hex": "#7531b5",
"rgb": {
"r": 117,
"g": 49,
"b": 181
},
"hsl": {
"h": 270.909,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.47735,
"c": 0.19674,
"h": 303
},
"luminance": 0.09315
}Semantic roles & 50–950 ramp
primary
#7531B5
secondary
#A0C77B
accent
#E14792
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82