#7052EA#7052EA

#7052EA is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.218 H 286.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7052EA
RGBrgb(112, 82, 234)
HSLhsl(252, 78%, 62%)
HSVhsv(252, 65%, 92%)
CMYKcmyk(52.1%, 65%, 0%, 8.2%)
CIE-LABlab(46.20, 50.30, -72.86)
CIE-LCHlch(46.20, 88.53, 304.62°)
OKLaboklab(55.78% 0.0601 -0.2092)
OKLCHoklch(55.78% 0.218 286)
XYZxyz(24.5462, 15.4186, 79.5086)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052EA #CCEA52
analogous
#5280EA #7052EA #BC52EA
triadic
#7052EA #EA7052 #52EA70
tetradic
#7052EA #EA5280 #CCEA52 #52EABC
square
#7052EA #EA5280 #CCEA52 #52EABC
split-complementary
#7052EA #EABC52 #80EA52
monochromatic
#3315AD #431CE3 #7052EA #9D89F1 #CABFF7

Accessibility & contrast

On white

5.14
#7052EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7052EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052EA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052EA#FFFFFF#000000##FFFFFF
##7052EA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#3F7897
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7052ea;
/* rgb */ color: rgb(112, 82, 234);
/* oklch */ color: oklch(55.8% 0.218 286.0);
Tailwind
colors: {
  custom: {
    50: '#a384f2',
    500: '#7052ea',
    950: '#000000',
  },
}
SCSS
$custom: #7052ea;
$custom-light: #a384f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7052ea",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 251.842,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55775,
    "c": 0.21763,
    "h": 286
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#7052EA
secondary
#DDE8B0
accent
#DB0BB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7052EA

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

Preview Lab → · Contrast checker → · Palette generator →

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