#7152F3#7152F3
#7152F3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.228 H 285.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7152F3 |
|---|---|
| RGB | rgb(113, 82, 243) |
| HSL | hsl(252, 87%, 64%) |
| HSV | hsv(252, 66%, 95%) |
| CMYK | cmyk(53.5%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(46.99, 53.05, -76.62) |
| CIE-LCH | lch(46.99, 93.19, 304.70°) |
| OKLab | oklab(56.59% 0.0603 -0.2202) |
| OKLCH | oklch(56.59% 0.228 285.3) |
| XYZ | xyz(26.0001, 16.0149, 86.4978) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.22
Purpleish Blue
#6140EF
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.49
Bluish Purple
#703BE7
ΔE00 5.71
Dark Periwinkle
#665FD1
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7152F3 #D4F352
analogous
#5283F3 #7152F3 #C152F3
triadic
#7152F3 #F37152 #52F371
tetradic
#7152F3 #F35283 #D4F352 #52F3C1
square
#7152F3 #F35283 #D4F352 #52F3C1
split-complementary
#7152F3 #F3C152 #83F352
monochromatic
#2F0DBD #4219EF #7152F3 #A08BF7 #CFC4FB
Accessibility & contrast
On white
5.00
#7152F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#7152F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7152F3
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7152F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7152F3 | 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)
#0074F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#397B9C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7152f3; /* rgb */ color: rgb(113, 82, 243); /* oklch */ color: oklch(56.6% 0.228 285.3);
Tailwind
colors: {
custom: {
50: '#a585f8',
500: '#7152f3',
950: '#000000',
},
}SCSS
$custom: #7152f3; $custom-light: #a585f8; $custom-dark: #000000;
JSON
{
"hex": "#7152f3",
"rgb": {
"r": 113,
"g": 82,
"b": 243
},
"hsl": {
"h": 251.553,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.56586,
"c": 0.22829,
"h": 285.3
},
"luminance": 0.16016
}Semantic roles & 50–950 ramp
primary
#7152F3
secondary
#E2EDB4
accent
#E402B8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85