#7051CC#7051CC

#7051CC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.182 H 290.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7051CC
RGBrgb(112, 81, 204)
HSLhsl(255, 55%, 56%)
HSVhsv(255, 60%, 80%)
CMYKcmyk(45.1%, 60.3%, 0%, 20%)
CIE-LABlab(43.78, 42.27, -59.68)
CIE-LCHlch(43.78, 73.13, 305.31°)
OKLaboklab(53.32% 0.0637 -0.1704)
OKLCHoklch(53.32% 0.182 290.5)
XYZxyz(20.5205, 13.6885, 58.6760)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051CC #ADCC51
analogous
#516FCC #7051CC #AD51CC
triadic
#7051CC #CC7051 #51CC70
tetradic
#7051CC #CC516F #ADCC51 #51CCAD
square
#7051CC #CC516F #ADCC51 #51CCAD
split-complementary
#7051CC #CCAD51 #6FCC51
monochromatic
#3B257E #5233AD #7051CC #9780DA #BEB0E8

Accessibility & contrast

On white

5.62
#7051CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7051CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051CC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051CC#FFFFFF#000000##FFFFFF
##7051CC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7051cc;
/* rgb */ color: rgb(112, 81, 204);
/* oklch */ color: oklch(53.3% 0.182 290.5);
Tailwind
colors: {
  custom: {
    50: '#9f83dc',
    500: '#7051cc',
    950: '#000000',
  },
}
SCSS
$custom: #7051cc;
$custom-light: #9f83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7051cc",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 255.122,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.18193,
    "h": 290.5
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7051CC

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

Preview Lab → · Contrast checker → · Palette generator →

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