#7152F2#7152F2
#7152F2 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.227 H 285.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7152F2 |
|---|---|
| RGB | rgb(113, 82, 242) |
| HSL | hsl(252, 86%, 64%) |
| HSV | hsv(252, 66%, 95%) |
| CMYK | cmyk(53.3%, 66.1%, 0%, 5.1%) |
| CIE-LAB | lab(46.91, 52.76, -76.19) |
| CIE-LCH | lch(46.91, 92.67, 304.70°) |
| OKLab | oklab(56.51% 0.0604 -0.2189) |
| OKLCH | oklch(56.51% 0.227 285.4) |
| XYZ | xyz(25.8495, 15.9547, 85.7047) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.19
Purpleish Blue
#6140EF
ΔE00 4.98
Light Indigo
#6D5ACF
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.39
Bluish Purple
#703BE7
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7152F2 #D3F252
analogous
#5283F2 #7152F2 #C152F2
triadic
#7152F2 #F27152 #52F271
tetradic
#7152F2 #F25283 #D3F252 #52F2C1
square
#7152F2 #F25283 #D3F252 #52F2C1
split-complementary
#7152F2 #F2C152 #83F252
monochromatic
#300EBC #4219EE #7152F2 #A08BF6 #CEC4FB
Accessibility & contrast
On white
5.01
#7152F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#7152F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7152F2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7152F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7152F2 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#3A7B9B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7152f2; /* rgb */ color: rgb(113, 82, 242); /* oklch */ color: oklch(56.5% 0.227 285.4);
Tailwind
colors: {
custom: {
50: '#a585f7',
500: '#7152f2',
950: '#000000',
},
}SCSS
$custom: #7152f2; $custom-light: #a585f7; $custom-dark: #000000;
JSON
{
"hex": "#7152f2",
"rgb": {
"r": 113,
"g": 82,
"b": 242
},
"hsl": {
"h": 251.625,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.56505,
"c": 0.2271,
"h": 285.4
},
"luminance": 0.15956
}Semantic roles & 50–950 ramp
primary
#7152F2
secondary
#E1ECB4
accent
#E303B7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85