#7052CA#7052CA

#7052CA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.178 H 290.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7052CA
RGBrgb(112, 82, 202)
HSLhsl(255, 53%, 56%)
HSVhsv(255, 59%, 79%)
CMYKcmyk(44.6%, 59.4%, 0%, 20.8%)
CIE-LABlab(43.86, 41.13, -58.40)
CIE-LCHlch(43.86, 71.43, 305.16°)
OKLaboklab(53.34% 0.0627 -0.1666)
OKLCHoklch(53.34% 0.178 290.6)
XYZxyz(20.3571, 13.7429, 57.4457)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052CA #ACCA52
analogous
#5270CA #7052CA #AC52CA
triadic
#7052CA #CA7052 #52CA70
tetradic
#7052CA #CA5270 #ACCA52 #52CAAC
square
#7052CA #CA5270 #ACCA52 #52CAAC
split-complementary
#7052CA #CAAC52 #70CA52
monochromatic
#3B267C #5234AB #7052CA #9781D8 #BDB0E7

Accessibility & contrast

On white

5.60
#7052CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7052CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052CA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052CA#FFFFFF#000000##FFFFFF
##7052CA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#556D86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7052ca;
/* rgb */ color: rgb(112, 82, 202);
/* oklch */ color: oklch(53.3% 0.178 290.6);
Tailwind
colors: {
  custom: {
    50: '#9f84db',
    500: '#7052ca',
    950: '#000000',
  },
}
SCSS
$custom: #7052ca;
$custom-light: #9f84db;
$custom-dark: #000000;
JSON
{
  "hex": "#7052ca",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 255,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.17804,
    "h": 290.6
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#7052CA
secondary
#C8D5A3
accent
#DD4BB8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7052CA

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

Preview Lab → · Contrast checker → · Palette generator →

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