#7542C8#7542C8
#7542C8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.197 H 296.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7542C8 |
|---|---|
| RGB | rgb(117, 66, 200) |
| HSL | hsl(263, 55%, 52%) |
| HSV | hsv(263, 67%, 78%) |
| CMYK | cmyk(41.5%, 67%, 0%, 21.6%) |
| CIE-LAB | lab(40.97, 50.36, -61.90) |
| CIE-LCH | lch(40.97, 79.79, 309.13°) |
| OKLab | oklab(51.32% 0.087 -0.1768) |
| OKLCH | oklch(51.32% 0.197 296.2) |
| XYZ | xyz(19.7069, 11.8481, 55.8810) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.26
Bluish Purple
#703BE7
ΔE00 4.25
Burple
#6832E3
ΔE00 4.88
Blueviolet
#8A2BE2
ΔE00 5.17
Blurple
#5539CC
ΔE00 5.55
Purpley Blue
#5F34E7
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7542C8 #95C842
analogous
#4252C8 #7542C8 #B842C8
triadic
#7542C8 #C87542 #42C875
tetradic
#7542C8 #C84252 #95C842 #42C8B8
square
#7542C8 #C84252 #95C842 #42C8B8
split-complementary
#7542C8 #C8B842 #52C842
monochromatic
#3E206F #592E9F #7542C8 #9871D6 #BAA1E4
Accessibility & contrast
On white
6.23
#7542C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7542C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7542C8
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7542C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7542C8 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#60627F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7542c8; /* rgb */ color: rgb(117, 66, 200); /* oklch */ color: oklch(51.3% 0.197 296.2);
Tailwind
colors: {
custom: {
50: '#a37ada',
500: '#7542c8',
950: '#000000',
},
}SCSS
$custom: #7542c8; $custom-light: #a37ada; $custom-dark: #000000;
JSON
{
"hex": "#7542c8",
"rgb": {
"r": 117,
"g": 66,
"b": 200
},
"hsl": {
"h": 262.836,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.51317,
"c": 0.19701,
"h": 296.2
},
"luminance": 0.11848
}Semantic roles & 50–950 ramp
primary
#7542C8
secondary
#BAD096
accent
#DE4AA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83