#7252E7#7252E7
#7252E7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.7% C 0.214 H 287.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7252E7 |
|---|---|
| RGB | rgb(114, 82, 231) |
| HSL | hsl(253, 76%, 61%) |
| HSV | hsv(253, 65%, 91%) |
| CMYK | cmyk(50.6%, 64.5%, 0%, 9.4%) |
| CIE-LAB | lab(46.15, 49.78, -71.24) |
| CIE-LCH | lch(46.15, 86.91, 304.95°) |
| OKLab | oklab(55.71% 0.0631 -0.2043) |
| OKLCH | oklch(55.71% 0.214 287.2) |
| XYZ | xyz(24.3763, 15.3803, 77.2701) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.82
Light Indigo
#6D5ACF
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 4.30
Purpleish Blue
#6140EF
ΔE00 4.81
Dark Periwinkle
#665FD1
ΔE00 5.14
Bluish Purple
#703BE7
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7252E7 #C7E752
analogous
#527DE7 #7252E7 #BD52E7
triadic
#7252E7 #E77252 #52E772
tetradic
#7252E7 #E7527D #C7E752 #52E7BD
square
#7252E7 #E7527D #C7E752 #52E7BD
split-complementary
#7252E7 #E7BD52 #7DE752
monochromatic
#3617A7 #481FDD #7252E7 #9E88EE #CABDF6
Accessibility & contrast
On white
5.15
#7252E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7252E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7252E7
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7252E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7252E7 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#467795
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7252e7; /* rgb */ color: rgb(114, 82, 231); /* oklch */ color: oklch(55.7% 0.214 287.2);
Tailwind
colors: {
custom: {
50: '#a484f0',
500: '#7252e7',
950: '#000000',
},
}SCSS
$custom: #7252e7; $custom-light: #a484f0; $custom-dark: #000000;
JSON
{
"hex": "#7252e7",
"rgb": {
"r": 114,
"g": 82,
"b": 231
},
"hsl": {
"h": 252.886,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.5571,
"c": 0.21386,
"h": 287.2
},
"luminance": 0.15382
}Semantic roles & 50–950 ramp
primary
#7252E7
secondary
#DAE6AF
accent
#D80EAC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85