#7052CE#7052CE

#7052CE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.183 H 290.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7052CE
RGBrgb(112, 82, 206)
HSLhsl(255, 56%, 56%)
HSVhsv(255, 60%, 81%)
CMYKcmyk(45.6%, 60.2%, 0%, 19.2%)
CIE-LABlab(44.14, 42.27, -60.25)
CIE-LCHlch(44.14, 73.60, 305.05°)
OKLaboklab(53.63% 0.0625 -0.1721)
OKLCHoklch(53.63% 0.183 290)
XYZxyz(20.8368, 13.9348, 59.9724)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052CE #B0CE52
analogous
#5272CE #7052CE #AE52CE
triadic
#7052CE #CE7052 #52CE70
tetradic
#7052CE #CE5272 #B0CE52 #52CEAE
square
#7052CE #CE5272 #B0CE52 #52CEAE
split-complementary
#7052CE #CEAE52 #72CE52
monochromatic
#3B2581 #5132B1 #7052CE #9782DC #BFB1E9

Accessibility & contrast

On white

5.54
#7052CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7052CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052CE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052CE#FFFFFF#000000##FFFFFF
##7052CE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#536E88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7052ce;
/* rgb */ color: rgb(112, 82, 206);
/* oklch */ color: oklch(53.6% 0.183 290.0);
Tailwind
colors: {
  custom: {
    50: '#a084de',
    500: '#7052ce',
    950: '#000000',
  },
}
SCSS
$custom: #7052ce;
$custom-light: #a084de;
$custom-dark: #000000;
JSON
{
  "hex": "#7052ce",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 254.516,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.1831,
    "h": 290
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#7052CE
secondary
#CBD7A4
accent
#DF49BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7052CE

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

Preview Lab → · Contrast checker → · Palette generator →

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