#7152E7#7152E7
#7152E7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.214 H 286.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7152E7 |
|---|---|
| RGB | rgb(113, 82, 231) |
| HSL | hsl(252, 76%, 61%) |
| HSV | hsv(252, 65%, 91%) |
| CMYK | cmyk(51.1%, 64.5%, 0%, 9.4%) |
| CIE-LAB | lab(46.06, 49.61, -71.39) |
| CIE-LCH | lch(46.06, 86.93, 304.79°) |
| OKLab | oklab(55.62% 0.0618 -0.2048) |
| OKLCH | oklch(55.62% 0.214 286.8) |
| XYZ | xyz(24.2469, 15.3136, 77.2640) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.87
Purpley
#8756E4
ΔE00 3.98
Slate Blue
#6A5ACD
ΔE00 4.25
Purpleish Blue
#6140EF
ΔE00 4.73
Dark Periwinkle
#665FD1
ΔE00 5.08
Bluish Purple
#703BE7
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7152E7 #C8E752
analogous
#527EE7 #7152E7 #BC52E7
triadic
#7152E7 #E77152 #52E771
tetradic
#7152E7 #E7527E #C8E752 #52E7BC
square
#7152E7 #E7527E #C8E752 #52E7BC
split-complementary
#7152E7 #E7BC52 #7EE752
monochromatic
#3517A7 #461FDD #7152E7 #9D88EE #C9BDF6
Accessibility & contrast
On white
5.17
#7152E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#7152E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7152E7
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7152E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7152E7 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#447795
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7152e7; /* rgb */ color: rgb(113, 82, 231); /* oklch */ color: oklch(55.6% 0.214 286.8);
Tailwind
colors: {
custom: {
50: '#a384f0',
500: '#7152e7',
950: '#000000',
},
}SCSS
$custom: #7152e7; $custom-light: #a384f0; $custom-dark: #000000;
JSON
{
"hex": "#7152e7",
"rgb": {
"r": 113,
"g": 82,
"b": 231
},
"hsl": {
"h": 252.483,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.55623,
"c": 0.21392,
"h": 286.8
},
"luminance": 0.15315
}Semantic roles & 50–950 ramp
primary
#7152E7
secondary
#DBE6AF
accent
#D80EAE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85