#7547AF#7547AF
#7547AF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.161 H 301.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7547AF |
|---|---|
| RGB | rgb(117, 71, 175) |
| HSL | hsl(267, 42%, 48%) |
| HSV | hsv(267, 59%, 69%) |
| CMYK | cmyk(33.1%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(40.22, 41.18, -48.47) |
| CIE-LCH | lch(40.22, 63.60, 310.35°) |
| OKLab | oklab(50.22% 0.0832 -0.1373) |
| OKLCH | oklch(50.22% 0.161 301.2) |
| XYZ | xyz(17.3254, 11.3835, 41.8336) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.23
Bluey Purple
#6241C7
ΔE00 5.71
Rebeccapurple
#663399
ΔE00 6.27
Purply
#983FB2
ΔE00 7.06
Ocean Blue
#4F42B5
ΔE00 7.40
Darkorchid
#9932CC
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7547AF #81AF47
analogous
#474DAF #7547AF #A947AF
triadic
#7547AF #AF7547 #47AF75
tetradic
#7547AF #AF474D #81AF47 #47AFA9
square
#7547AF #AF474D #81AF47 #47AFA9
split-complementary
#7547AF #AFA947 #4DAF47
monochromatic
#3B2458 #583583 #7547AF #956FC4 #B59AD6
Accessibility & contrast
On white
6.41
#7547AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#7547AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7547AF
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7547AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7547AF | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115EB2
Deuteranopia (green-blind)
#295EAD
Tritanopia (blue-blind)
#695C74
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7547af; /* rgb */ color: rgb(117, 71, 175); /* oklch */ color: oklch(50.2% 0.161 301.2);
Tailwind
colors: {
custom: {
50: '#a07cc7',
500: '#7547af',
950: '#000000',
},
}SCSS
$custom: #7547af; $custom-light: #a07cc7; $custom-dark: #000000;
JSON
{
"hex": "#7547af",
"rgb": {
"r": 117,
"g": 71,
"b": 175
},
"hsl": {
"h": 266.538,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.50217,
"c": 0.16053,
"h": 301.2
},
"luminance": 0.11384
}Semantic roles & 50–950 ramp
primary
#7547AF
secondary
#ACC28F
accent
#D2569B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82