#7052DC#7052DC

#7052DC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.7% C 0.201 H 287.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7052DC
RGBrgb(112, 82, 220)
HSLhsl(253, 66%, 59%)
HSVhsv(253, 63%, 86%)
CMYKcmyk(49.1%, 62.7%, 0%, 13.7%)
CIE-LABlab(45.14, 46.27, -66.64)
CIE-LCHlch(45.14, 81.13, 304.77°)
OKLaboklab(54.68% 0.0616 -0.1909)
OKLCHoklch(54.68% 0.201 287.9)
XYZxyz(22.6139, 14.6456, 69.3316)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052DC #BEDC52
analogous
#5279DC #7052DC #B552DC
triadic
#7052DC #DC7052 #52DC70
tetradic
#7052DC #DC5279 #BEDC52 #52DCB5
square
#7052DC #DC5279 #BEDC52 #52DCB5
split-complementary
#7052DC #DCB552 #79DC52
monochromatic
#381E95 #4B29C8 #7052DC #9A85E6 #C4B8F1

Accessibility & contrast

On white

5.34
#7052DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7052DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052DC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052DC#FFFFFF#000000##FFFFFF
##7052DC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#4A738F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7052dc;
/* rgb */ color: rgb(112, 82, 220);
/* oklch */ color: oklch(54.7% 0.201 287.9);
Tailwind
colors: {
  custom: {
    50: '#a184e8',
    500: '#7052dc',
    950: '#000000',
  },
}
SCSS
$custom: #7052dc;
$custom-light: #a184e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7052dc",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 253.043,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.20057,
    "h": 287.9
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#7052DC
secondary
#D4E0AA
accent
#E93FC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7052DC

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

Preview Lab → · Contrast checker → · Palette generator →

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