#7452EF#7452EF
#7452EF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.223 H 286.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7452EF |
|---|---|
| RGB | rgb(116, 82, 239) |
| HSL | hsl(253, 83%, 63%) |
| HSV | hsv(253, 66%, 94%) |
| CMYK | cmyk(51.5%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(46.95, 52.40, -74.44) |
| CIE-LCH | lch(46.95, 91.04, 305.14°) |
| OKLab | oklab(56.52% 0.0648 -0.2137) |
| OKLCH | oklch(56.52% 0.223 286.9) |
| XYZ | xyz(25.7951, 15.9783, 83.3695) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.67
Light Indigo
#6D5ACF
ΔE00 4.79
Purpleish Blue
#6140EF
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.21
Bluish Purple
#703BE7
ΔE00 5.55
Dark Periwinkle
#665FD1
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7452EF #CDEF52
analogous
#527EEF #7452EF #C352EF
triadic
#7452EF #EF7452 #52EF74
tetradic
#7452EF #EF527E #CDEF52 #52EFC3
square
#7452EF #EF527E #CDEF52 #52EFC3
split-complementary
#7452EF #EFC352 #7EEF52
monochromatic
#3511B6 #471AEA #7452EF #A18AF4 #CEC2F9
Accessibility & contrast
On white
5.00
#7452EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#7452EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7452EF
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7452EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7452EF | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#44799A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7452ef; /* rgb */ color: rgb(116, 82, 239); /* oklch */ color: oklch(56.5% 0.223 286.9);
Tailwind
colors: {
custom: {
50: '#a685f5',
500: '#7452ef',
950: '#000000',
},
}SCSS
$custom: #7452ef; $custom-light: #a685f5; $custom-dark: #000000;
JSON
{
"hex": "#7452ef",
"rgb": {
"r": 116,
"g": 82,
"b": 239
},
"hsl": {
"h": 252.994,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.56519,
"c": 0.22329,
"h": 286.9
},
"luminance": 0.1598
}Semantic roles & 50–950 ramp
primary
#7452EF
secondary
#DEEBB2
accent
#DF06B0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#110B17
muted
#807C85