#7548C3#7548C3
#7548C3 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.183 H 296.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7548C3 |
|---|---|
| RGB | rgb(117, 72, 195) |
| HSL | hsl(262, 51%, 52%) |
| HSV | hsv(262, 63%, 76%) |
| CMYK | cmyk(40%, 63.1%, 0%, 23.5%) |
| CIE-LAB | lab(41.78, 45.86, -57.69) |
| CIE-LCH | lch(41.78, 73.70, 308.49°) |
| OKLab | oklab(51.78% 0.081 -0.1644) |
| OKLCH | oklch(51.78% 0.183 296.2) |
| XYZ | xyz(19.5012, 12.3564, 52.9768) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.84
Royal Purple
#7851A9
ΔE00 5.34
Bluish Purple
#703BE7
ΔE00 5.36
Light Indigo
#6D5ACF
ΔE00 5.74
Slate Blue
#6A5ACD
ΔE00 5.90
Iris
#6258C4
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7548C3 #96C348
analogous
#4859C3 #7548C3 #B248C3
triadic
#7548C3 #C37548 #48C375
tetradic
#7548C3 #C34859 #96C348 #48C3B2
square
#7548C3 #C34859 #96C348 #48C3B2
split-complementary
#7548C3 #C3B248 #59C348
monochromatic
#3E246D #59339B #7548C3 #9876D2 #BBA4E1
Accessibility & contrast
On white
6.05
#7548C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#7548C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7548C3
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7548C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7548C3 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#61647F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7548c3; /* rgb */ color: rgb(117, 72, 195); /* oklch */ color: oklch(51.8% 0.183 296.2);
Tailwind
colors: {
custom: {
50: '#a27dd6',
500: '#7548c3',
950: '#000000',
},
}SCSS
$custom: #7548c3; $custom-light: #a27dd6; $custom-dark: #000000;
JSON
{
"hex": "#7548c3",
"rgb": {
"r": 117,
"g": 72,
"b": 195
},
"hsl": {
"h": 261.951,
"s": 50.617,
"l": 52.353
},
"oklch": {
"l": 0.51782,
"c": 0.18329,
"h": 296.2
},
"luminance": 0.12357
}Semantic roles & 50–950 ramp
primary
#7548C3
secondary
#BBCE99
accent
#DA4EA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83