#7548BF#7548BF
#7548BF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.178 H 297.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7548BF |
|---|---|
| RGB | rgb(117, 72, 191) |
| HSL | hsl(263, 48%, 52%) |
| HSV | hsv(263, 62%, 75%) |
| CMYK | cmyk(38.7%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(41.50, 44.80, -55.81) |
| CIE-LCH | lch(41.50, 71.57, 308.76°) |
| OKLab | oklab(51.49% 0.0813 -0.1589) |
| OKLCH | oklch(51.49% 0.178 297.1) |
| XYZ | xyz(19.0550, 12.1779, 50.6268) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.06
Royal Purple
#7851A9
ΔE00 4.83
Bluish Purple
#703BE7
ΔE00 5.91
Light Indigo
#6D5ACF
ΔE00 6.05
Slate Blue
#6A5ACD
ΔE00 6.18
Iris
#6258C4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7548BF #92BF48
analogous
#4857BF #7548BF #B148BF
triadic
#7548BF #BF7548 #48BF75
tetradic
#7548BF #BF4857 #92BF48 #48BFB1
square
#7548BF #BF4857 #92BF48 #48BFB1
split-complementary
#7548BF #BFB148 #57BF48
monochromatic
#3E2468 #593496 #7548BF #9775CF #B9A3DF
Accessibility & contrast
On white
6.11
#7548BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7548BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7548BF
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7548BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7548BF | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0860BC
Tritanopia (blue-blind)
#63627D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7548bf; /* rgb */ color: rgb(117, 72, 191); /* oklch */ color: oklch(51.5% 0.178 297.1);
Tailwind
colors: {
custom: {
50: '#a27dd3',
500: '#7548bf',
950: '#000000',
},
}SCSS
$custom: #7548bf; $custom-light: #a27dd3; $custom-dark: #000000;
JSON
{
"hex": "#7548bf",
"rgb": {
"r": 117,
"g": 72,
"b": 191
},
"hsl": {
"h": 262.689,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.51491,
"c": 0.17847,
"h": 297.1
},
"luminance": 0.12178
}Semantic roles & 50–950 ramp
primary
#7548BF
secondary
#B8CC97
accent
#D850A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83