#7452F2#7452F2
#7452F2 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.227 H 286.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7452F2 |
|---|---|
| RGB | rgb(116, 82, 242) |
| HSL | hsl(253, 86%, 64%) |
| HSV | hsv(253, 66%, 95%) |
| CMYK | cmyk(52.1%, 66.1%, 0%, 5.1%) |
| CIE-LAB | lab(47.18, 53.25, -75.74) |
| CIE-LCH | lch(47.18, 92.59, 305.11°) |
| OKLab | oklab(56.76% 0.0644 -0.2175) |
| OKLCH | oklch(56.76% 0.227 286.5) |
| XYZ | xyz(26.2420, 16.1570, 85.7231) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.79
Light Indigo
#6D5ACF
ΔE00 5.11
Purpleish Blue
#6140EF
ΔE00 5.22
Slate Blue
#6A5ACD
ΔE00 5.53
Bluish Purple
#703BE7
ΔE00 5.72
Dark Periwinkle
#665FD1
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7452F2 #D0F252
analogous
#5280F2 #7452F2 #C452F2
triadic
#7452F2 #F27452 #52F274
tetradic
#7452F2 #F25280 #D0F252 #52F2C4
square
#7452F2 #F25280 #D0F252 #52F2C4
split-complementary
#7452F2 #F2C452 #80F252
monochromatic
#330EBC #4619EE #7452F2 #A28BF6 #CFC4FB
Accessibility & contrast
On white
4.96
#7452F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#7452F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7452F2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7452F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7452F2 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#427A9B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7452f2; /* rgb */ color: rgb(116, 82, 242); /* oklch */ color: oklch(56.8% 0.227 286.5);
Tailwind
colors: {
custom: {
50: '#a685f7',
500: '#7452f2',
950: '#000000',
},
}SCSS
$custom: #7452f2; $custom-light: #a685f7; $custom-dark: #000000;
JSON
{
"hex": "#7452f2",
"rgb": {
"r": 116,
"g": 82,
"b": 242
},
"hsl": {
"h": 252.75,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.5676,
"c": 0.22685,
"h": 286.5
},
"luminance": 0.16158
}Semantic roles & 50–950 ramp
primary
#7452F2
secondary
#E0ECB4
accent
#E303B3
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85