#7052E7#7052E7

#7052E7 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.214 H 286.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7052E7
RGBrgb(112, 82, 231)
HSLhsl(252, 76%, 61%)
HSVhsv(252, 65%, 91%)
CMYKcmyk(51.5%, 64.5%, 0%, 9.4%)
CIE-LABlab(45.97, 49.43, -71.54)
CIE-LCHlch(45.97, 86.95, 304.64°)
OKLaboklab(55.54% 0.0605 -0.2053)
OKLCHoklch(55.54% 0.214 286.4)
XYZxyz(24.1189, 15.2476, 77.2580)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052E7 #C9E752
analogous
#527FE7 #7052E7 #BB52E7
triadic
#7052E7 #E77052 #52E770
tetradic
#7052E7 #E7527F #C9E752 #52E7BB
square
#7052E7 #E7527F #C9E752 #52E7BB
split-complementary
#7052E7 #E7BB52 #7FE752
monochromatic
#3417A7 #451FDD #7052E7 #9C88EE #C9BDF6

Accessibility & contrast

On white

5.19
#7052E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7052E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052E7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052E7#FFFFFF#000000##FFFFFF
##7052E71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#427795
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7052e7;
/* rgb */ color: rgb(112, 82, 231);
/* oklch */ color: oklch(55.5% 0.214 286.4);
Tailwind
colors: {
  custom: {
    50: '#a384f0',
    500: '#7052e7',
    950: '#000000',
  },
}
SCSS
$custom: #7052e7;
$custom-light: #a384f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7052e7",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 252.081,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.214,
    "h": 286.4
  },
  "luminance": 0.15249
}

Semantic roles & 50–950 ramp

primary
#7052E7
secondary
#DBE6AF
accent
#D80EAF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7052E7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7052E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva