#7052E6#7052E6

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

Color values

HEX#7052E6
RGBrgb(112, 82, 230)
HSLhsl(252, 75%, 61%)
HSVhsv(252, 64%, 90%)
CMYKcmyk(51.3%, 64.3%, 0%, 9.8%)
CIE-LABlab(45.90, 49.14, -71.10)
CIE-LCHlch(45.90, 86.43, 304.65°)
OKLaboklab(55.46% 0.0606 -0.204)
OKLCHoklch(55.46% 0.213 286.5)
XYZxyz(23.9781, 15.1913, 76.5163)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052E6 #C8E652
analogous
#527EE6 #7052E6 #BA52E6
triadic
#7052E6 #E67052 #52E670
tetradic
#7052E6 #E6527E #C8E652 #52E6BA
square
#7052E6 #E6527E #C8E652 #52E6BA
split-complementary
#7052E6 #E6BA52 #7EE652
monochromatic
#3518A6 #4620DB #7052E6 #9C87EE #C8BDF5

Accessibility & contrast

On white

5.20
#7052E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7052E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052E6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052E6#FFFFFF#000000##FFFFFF
##7052E61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#437695
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7052e6;
/* rgb */ color: rgb(112, 82, 230);
/* oklch */ color: oklch(55.5% 0.213 286.5);
Tailwind
colors: {
  custom: {
    50: '#a384ef',
    500: '#7052e6',
    950: '#000000',
  },
}
SCSS
$custom: #7052e6;
$custom-light: #a384ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7052e6",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 252.162,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.2128,
    "h": 286.5
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#7052E6
secondary
#DAE6AE
accent
#D70FAE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7052E6

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

Preview Lab → · Contrast checker → · Palette generator →

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