#7052CB#7052CB

#7052CB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.179 H 290.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7052CB
RGBrgb(112, 82, 203)
HSLhsl(255, 54%, 56%)
HSVhsv(255, 60%, 80%)
CMYKcmyk(44.8%, 59.6%, 0%, 20.4%)
CIE-LABlab(43.93, 41.41, -58.86)
CIE-LCHlch(43.93, 71.97, 305.13°)
OKLaboklab(53.41% 0.0626 -0.168)
OKLCHoklch(53.41% 0.179 290.4)
XYZxyz(20.4759, 13.7904, 58.0713)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7052CB #ADCB52
analogous
#5270CB #7052CB #AC52CB
triadic
#7052CB #CB7052 #52CB70
tetradic
#7052CB #CB5270 #ADCB52 #52CBAC
square
#7052CB #CB5270 #ADCB52 #52CBAC
split-complementary
#7052CB #CBAC52 #70CB52
monochromatic
#3B267D #5234AC #7052CB #9781D9 #BEB0E7

Accessibility & contrast

On white

5.59
#7052CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7052CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7052CB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7052CB#FFFFFF#000000##FFFFFF
##7052CB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#556D87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7052cb;
/* rgb */ color: rgb(112, 82, 203);
/* oklch */ color: oklch(53.4% 0.179 290.4);
Tailwind
colors: {
  custom: {
    50: '#9f84dc',
    500: '#7052cb',
    950: '#000000',
  },
}
SCSS
$custom: #7052cb;
$custom-light: #9f84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7052cb",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 254.876,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.17931,
    "h": 290.4
  },
  "luminance": 0.13791
}

Semantic roles & 50–950 ramp

primary
#7052CB
secondary
#C9D5A3
accent
#DD4BB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7052CB

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

Preview Lab → · Contrast checker → · Palette generator →

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