#7542E2#7542E2
#7542E2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.226 H 291.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7542E2 |
|---|---|
| RGB | rgb(117, 66, 226) |
| HSL | hsl(259, 73%, 57%) |
| HSV | hsv(259, 71%, 89%) |
| CMYK | cmyk(48.2%, 70.8%, 0%, 11.4%) |
| CIE-LAB | lab(43.02, 57.23, -73.51) |
| CIE-LCH | lch(43.02, 93.16, 307.91°) |
| OKLab | oklab(53.41% 0.0826 -0.2109) |
| OKLCH | oklch(53.41% 0.226 291.4) |
| XYZ | xyz(23.0079, 13.1685, 73.2662) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 1.64
Purpleish Blue
#6140EF
ΔE00 3.13
Burple
#6832E3
ΔE00 3.79
Purpley Blue
#5F34E7
ΔE00 4.28
Blueviolet
#8A2BE2
ΔE00 4.46
Bluey Purple
#6241C7
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7542E2 #AFE242
analogous
#425FE2 #7542E2 #C542E2
triadic
#7542E2 #E27542 #42E275
tetradic
#7542E2 #E2425F #AFE242 #42E2C5
square
#7542E2 #E2425F #AFE242 #42E2C5
split-complementary
#7542E2 #E2C542 #5FE242
monochromatic
#3E1793 #551FC8 #7542E2 #9C77EA #C2ACF2
Accessibility & contrast
On white
5.78
#7542E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7542E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7542E2
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7542E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7542E2 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#516C8E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7542e2; /* rgb */ color: rgb(117, 66, 226); /* oklch */ color: oklch(53.4% 0.226 291.4);
Tailwind
colors: {
custom: {
50: '#a67bec',
500: '#7542e2',
950: '#000000',
},
}SCSS
$custom: #7542e2; $custom-light: #a67bec; $custom-dark: #000000;
JSON
{
"hex": "#7542e2",
"rgb": {
"r": 117,
"g": 66,
"b": 226
},
"hsl": {
"h": 259.125,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.5341,
"c": 0.22646,
"h": 291.4
},
"luminance": 0.13169
}Semantic roles & 50–950 ramp
primary
#7542E2
secondary
#CCE09F
accent
#F038B5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84