#7542CA#7542CA
#7542CA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.199 H 295.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7542CA |
|---|---|
| RGB | rgb(117, 66, 202) |
| HSL | hsl(263, 56%, 53%) |
| HSV | hsv(263, 67%, 79%) |
| CMYK | cmyk(42.1%, 67.3%, 0%, 20.8%) |
| CIE-LAB | lab(41.12, 50.88, -62.81) |
| CIE-LCH | lch(41.12, 80.84, 309.01°) |
| OKLab | oklab(51.47% 0.0867 -0.1794) |
| OKLCH | oklch(51.47% 0.199 295.8) |
| XYZ | xyz(19.9422, 11.9422, 57.1200) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.25
Bluish Purple
#703BE7
ΔE00 3.98
Burple
#6832E3
ΔE00 4.69
Blueviolet
#8A2BE2
ΔE00 5.03
Purpley Blue
#5F34E7
ΔE00 5.46
Blurple
#5539CC
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7542CA #97CA42
analogous
#4253CA #7542CA #B942CA
triadic
#7542CA #CA7542 #42CA75
tetradic
#7542CA #CA4253 #97CA42 #42CAB9
square
#7542CA #CA4253 #97CA42 #42CAB9
split-complementary
#7542CA #CAB942 #53CA42
monochromatic
#3F2072 #592DA2 #7542CA #9872D7 #BBA2E5
Accessibility & contrast
On white
6.20
#7542CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#7542CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7542CA
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7542CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7542CA | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#5F6381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7542ca; /* rgb */ color: rgb(117, 66, 202); /* oklch */ color: oklch(51.5% 0.199 295.8);
Tailwind
colors: {
custom: {
50: '#a37adb',
500: '#7542ca',
950: '#000000',
},
}SCSS
$custom: #7542ca; $custom-light: #a37adb; $custom-dark: #000000;
JSON
{
"hex": "#7542ca",
"rgb": {
"r": 117,
"g": 66,
"b": 202
},
"hsl": {
"h": 262.5,
"s": 56.198,
"l": 52.549
},
"oklch": {
"l": 0.51472,
"c": 0.1993,
"h": 295.8
},
"luminance": 0.11943
}Semantic roles & 50–950 ramp
primary
#7542CA
secondary
#BBD196
accent
#DF48A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83