#7052E5#7052E5

#7052E5 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.212 H 286.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7052E5
RGBrgb(112, 82, 229)
HSLhsl(252, 74%, 61%)
HSVhsv(252, 64%, 90%)
CMYKcmyk(51.1%, 64.2%, 0%, 10.2%)
CIE-LABlab(45.82, 48.86, -70.65)
CIE-LCHlch(45.82, 85.90, 304.66°)
OKLaboklab(55.38% 0.0607 -0.2027)
OKLCHoklch(55.38% 0.212 286.7)
XYZxyz(23.8381, 15.1353, 75.7789)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052E5 #C7E552
analogous
#527DE5 #7052E5 #B952E5
triadic
#7052E5 #E57052 #52E570
tetradic
#7052E5 #E5527D #C7E552 #52E5B9
square
#7052E5 #E5527D #C7E552 #52E5B9
split-complementary
#7052E5 #E5B952 #7DE552
monochromatic
#3519A4 #4621D9 #7052E5 #9C87ED #C8BCF5

Accessibility & contrast

On white

5.21
#7052E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7052E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052E5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052E5#FFFFFF#000000##FFFFFF
##7052E51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#437694
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7052e5;
/* rgb */ color: rgb(112, 82, 229);
/* oklch */ color: oklch(55.4% 0.212 286.7);
Tailwind
colors: {
  custom: {
    50: '#a284ee',
    500: '#7052e5',
    950: '#000000',
  },
}
SCSS
$custom: #7052e5;
$custom-light: #a284ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7052e5",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 252.245,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55379,
    "c": 0.21158,
    "h": 286.7
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#7052E5
secondary
#DAE5AE
accent
#D610AD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7052E5

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

Preview Lab → · Contrast checker → · Palette generator →

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