#7542C0#7542C0
#7542C0 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.188 H 297.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7542C0 |
|---|---|
| RGB | rgb(117, 66, 192) |
| HSL | hsl(264, 50%, 51%) |
| HSV | hsv(264, 66%, 75%) |
| CMYK | cmyk(39.1%, 65.6%, 0%, 24.7%) |
| CIE-LAB | lab(40.38, 48.27, -58.20) |
| CIE-LCH | lch(40.38, 75.61, 309.68°) |
| OKLab | oklab(50.71% 0.088 -0.1659) |
| OKLCH | oklch(50.71% 0.188 297.9) |
| XYZ | xyz(18.7963, 11.4838, 51.0853) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.61
Bluish Purple
#703BE7
ΔE00 5.39
Burple
#6832E3
ΔE00 5.77
Royal Purple
#7851A9
ΔE00 5.81
Blueviolet
#8A2BE2
ΔE00 5.87
Blurple
#5539CC
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7542C0 #8DC042
analogous
#424EC0 #7542C0 #B442C0
triadic
#7542C0 #C07542 #42C075
tetradic
#7542C0 #C0424E #8DC042 #42C0B4
square
#7542C0 #C0424E #8DC042 #42C0B4
split-complementary
#7542C0 #C0B442 #4EC042
monochromatic
#3D2266 #593194 #7542C0 #9770CF #B89EDF
Accessibility & contrast
On white
6.37
#7542C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7542C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7542C0
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7542C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7542C0 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#635F7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7542c0; /* rgb */ color: rgb(117, 66, 192); /* oklch */ color: oklch(50.7% 0.188 297.9);
Tailwind
colors: {
custom: {
50: '#a279d4',
500: '#7542c0',
950: '#000000',
},
}SCSS
$custom: #7542c0; $custom-light: #a279d4; $custom-dark: #000000;
JSON
{
"hex": "#7542c0",
"rgb": {
"r": 117,
"g": 66,
"b": 192
},
"hsl": {
"h": 264.286,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.50707,
"c": 0.18777,
"h": 297.9
},
"luminance": 0.11484
}Semantic roles & 50–950 ramp
primary
#7542C0
secondary
#B4CB93
accent
#DA4EA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83