#7452E2#7452E2
#7452E2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.208 H 288.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7452E2 |
|---|---|
| RGB | rgb(116, 82, 226) |
| HSL | hsl(254, 71%, 60%) |
| HSV | hsv(254, 64%, 89%) |
| CMYK | cmyk(48.7%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(45.96, 48.72, -68.71) |
| CIE-LCH | lch(45.96, 84.23, 305.34°) |
| OKLab | oklab(55.5% 0.0663 -0.1969) |
| OKLCH | oklch(55.5% 0.208 288.6) |
| XYZ | xyz(23.9432, 15.2375, 73.6163) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.53
Purpley
#8756E4
ΔE00 3.55
Slate Blue
#6A5ACD
ΔE00 3.97
Purpleish Blue
#6140EF
ΔE00 5.04
Dark Periwinkle
#665FD1
ΔE00 5.05
Bluish Purple
#703BE7
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7452E2 #C0E252
analogous
#5278E2 #7452E2 #BC52E2
triadic
#7452E2 #E27452 #52E274
tetradic
#7452E2 #E25278 #C0E252 #52E2BC
square
#7452E2 #E25278 #C0E252 #52E2BC
split-complementary
#7452E2 #E2BC52 #78E252
monochromatic
#3A1B9F #4D23D3 #7452E2 #9E86EB #C8BBF4
Accessibility & contrast
On white
5.19
#7452E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#7452E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7452E2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7452E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7452E2 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#4E7593
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7452e2; /* rgb */ color: rgb(116, 82, 226); /* oklch */ color: oklch(55.5% 0.208 288.6);
Tailwind
colors: {
custom: {
50: '#a484ec',
500: '#7452e2',
950: '#000000',
},
}SCSS
$custom: #7452e2; $custom-light: #a484ec; $custom-dark: #000000;
JSON
{
"hex": "#7452e2",
"rgb": {
"r": 116,
"g": 82,
"b": 226
},
"hsl": {
"h": 254.167,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.55496,
"c": 0.20772,
"h": 288.6
},
"luminance": 0.15239
}Semantic roles & 50–950 ramp
primary
#7452E2
secondary
#D6E3AC
accent
#D312A6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84