#7252F3#7252F3
#7252F3 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.228 H 285.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7252F3 |
|---|---|
| RGB | rgb(114, 82, 243) |
| HSL | hsl(252, 87%, 64%) |
| HSV | hsv(252, 66%, 95%) |
| CMYK | cmyk(53.1%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(47.08, 53.21, -76.47) |
| CIE-LCH | lch(47.08, 93.16, 304.83°) |
| OKLab | oklab(56.67% 0.0616 -0.2197) |
| OKLCH | oklch(56.67% 0.228 285.7) |
| XYZ | xyz(26.1295, 16.0816, 86.5039) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.09
Purpleish Blue
#6140EF
ΔE00 5.10
Light Indigo
#6D5ACF
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.54
Bluish Purple
#703BE7
ΔE00 5.73
Dark Periwinkle
#665FD1
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7252F3 #D3F352
analogous
#5282F3 #7252F3 #C252F3
triadic
#7252F3 #F37252 #52F372
tetradic
#7252F3 #F35282 #D3F352 #52F3C2
square
#7252F3 #F35282 #D3F352 #52F3C2
split-complementary
#7252F3 #F3C252 #82F352
monochromatic
#300DBD #4319EF #7252F3 #A18BF7 #CFC4FB
Accessibility & contrast
On white
4.98
#7252F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7252F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7252F3
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7252F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7252F3 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#3C7B9C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7252f3; /* rgb */ color: rgb(114, 82, 243); /* oklch */ color: oklch(56.7% 0.228 285.7);
Tailwind
colors: {
custom: {
50: '#a585f8',
500: '#7252f3',
950: '#000000',
},
}SCSS
$custom: #7252f3; $custom-light: #a585f8; $custom-dark: #000000;
JSON
{
"hex": "#7252f3",
"rgb": {
"r": 114,
"g": 82,
"b": 243
},
"hsl": {
"h": 251.925,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.5667,
"c": 0.22819,
"h": 285.7
},
"luminance": 0.16083
}Semantic roles & 50–950 ramp
primary
#7252F3
secondary
#E2EDB4
accent
#E402B7
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85