#7051CB#7051CB

#7051CB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.181 H 290.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7051CB
RGBrgb(112, 81, 203)
HSLhsl(255, 54%, 56%)
HSVhsv(255, 60%, 80%)
CMYKcmyk(44.8%, 60.1%, 0%, 20.4%)
CIE-LABlab(43.71, 41.99, -59.22)
CIE-LCHlch(43.71, 72.59, 305.34°)
OKLaboklab(53.25% 0.0637 -0.1691)
OKLCHoklch(53.25% 0.181 290.7)
XYZxyz(20.4010, 13.6407, 58.0463)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051CB #ACCB51
analogous
#516FCB #7051CB #AD51CB
triadic
#7051CB #CB7051 #51CB70
tetradic
#7051CB #CB516F #ACCB51 #51CBAD
square
#7051CB #CB516F #ACCB51 #51CBAD
split-complementary
#7051CB #CBAD51 #6FCB51
monochromatic
#3B257C #5233AC #7051CB #9780D9 #BDAFE7

Accessibility & contrast

On white

5.63
#7051CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7051CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051CB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051CB#FFFFFF#000000##FFFFFF
##7051CB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#556D86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7051cb;
/* rgb */ color: rgb(112, 81, 203);
/* oklch */ color: oklch(53.3% 0.181 290.7);
Tailwind
colors: {
  custom: {
    50: '#9f83dc',
    500: '#7051cb',
    950: '#000000',
  },
}
SCSS
$custom: #7051cb;
$custom-light: #9f83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7051cb",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 255.246,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.18067,
    "h": 290.7
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

primary
#7051CB
secondary
#C8D5A3
accent
#DD4AB8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7051CB

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

Preview Lab → · Contrast checker → · Palette generator →

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