#7052CC#7052CC

#7052CC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.181 H 290.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7052CC
RGBrgb(112, 82, 204)
HSLhsl(255, 54%, 56%)
HSVhsv(255, 60%, 80%)
CMYKcmyk(45.1%, 59.8%, 0%, 20%)
CIE-LABlab(44.00, 41.70, -59.33)
CIE-LCHlch(44.00, 72.52, 305.10°)
OKLaboklab(53.48% 0.0626 -0.1694)
OKLCHoklch(53.48% 0.181 290.3)
XYZxyz(20.5954, 13.8382, 58.7009)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052CC #AECC52
analogous
#5271CC #7052CC #AD52CC
triadic
#7052CC #CC7052 #52CC70
tetradic
#7052CC #CC5271 #AECC52 #52CCAD
square
#7052CC #CC5271 #AECC52 #52CCAD
split-complementary
#7052CC #CCAD52 #71CC52
monochromatic
#3B257E #5133AE #7052CC #9781DA #BEB1E8

Accessibility & contrast

On white

5.57
#7052CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7052CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052CC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052CC#FFFFFF#000000##FFFFFF
##7052CC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#546E87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7052cc;
/* rgb */ color: rgb(112, 82, 204);
/* oklch */ color: oklch(53.5% 0.181 290.3);
Tailwind
colors: {
  custom: {
    50: '#9f84dc',
    500: '#7052cc',
    950: '#000000',
  },
}
SCSS
$custom: #7052cc;
$custom-light: #9f84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7052cc",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 254.754,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.18058,
    "h": 290.3
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#7052CC
secondary
#CAD6A4
accent
#DE4AB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7052CC

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

Preview Lab → · Contrast checker → · Palette generator →

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