#7052DD#7052DD

#7052DD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.8% C 0.202 H 287.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7052DD
RGBrgb(112, 82, 221)
HSLhsl(253, 67%, 59%)
HSVhsv(253, 63%, 87%)
CMYKcmyk(49.3%, 62.9%, 0%, 13.3%)
CIE-LABlab(45.22, 46.56, -67.09)
CIE-LCHlch(45.22, 81.66, 304.76°)
OKLaboklab(54.76% 0.0615 -0.1922)
OKLCHoklch(54.76% 0.202 287.7)
XYZxyz(22.7467, 14.6988, 70.0312)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052DD #BFDD52
analogous
#5279DD #7052DD #B652DD
triadic
#7052DD #DD7052 #52DD70
tetradic
#7052DD #DD5279 #BFDD52 #52DDB6
square
#7052DD #DD5279 #BFDD52 #52DDB6
split-complementary
#7052DD #DDB652 #79DD52
monochromatic
#381E97 #4B28CA #7052DD #9A85E7 #C5B8F1

Accessibility & contrast

On white

5.33
#7052DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7052DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052DD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052DD#FFFFFF#000000##FFFFFF
##7052DD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#4A7390
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7052dd;
/* rgb */ color: rgb(112, 82, 221);
/* oklch */ color: oklch(54.8% 0.202 287.7);
Tailwind
colors: {
  custom: {
    50: '#a184e8',
    500: '#7052dd',
    950: '#000000',
  },
}
SCSS
$custom: #7052dd;
$custom-light: #a184e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7052dd",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 252.95,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.2018,
    "h": 287.7
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#7052DD
secondary
#D5E0AA
accent
#EA3EC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7052DD

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

Preview Lab → · Contrast checker → · Palette generator →

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