#7051E6#7051E6

#7051E6 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.214 H 286.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7051E6
RGBrgb(112, 81, 230)
HSLhsl(252, 75%, 61%)
HSVhsv(252, 65%, 90%)
CMYKcmyk(51.3%, 64.8%, 0%, 9.8%)
CIE-LABlab(45.69, 49.69, -71.43)
CIE-LCHlch(45.69, 87.01, 304.83°)
OKLaboklab(55.31% 0.0615 -0.205)
OKLCHoklch(55.31% 0.214 286.7)
XYZxyz(23.9032, 15.0416, 76.4914)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051E6 #C7E651
analogous
#517CE6 #7051E6 #BA51E6
triadic
#7051E6 #E67051 #51E670
tetradic
#7051E6 #E6517C #C7E651 #51E6BA
square
#7051E6 #E6517C #C7E651 #51E6BA
split-complementary
#7051E6 #E6BA51 #7CE651
monochromatic
#3518A5 #461FDA #7051E6 #9C87EE #C8BCF5

Accessibility & contrast

On white

5.24
#7051E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7051E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051E6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051E6#FFFFFF#000000##FFFFFF
##7051E61.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#437694
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7051e6;
/* rgb */ color: rgb(112, 81, 230);
/* oklch */ color: oklch(55.3% 0.214 286.7);
Tailwind
colors: {
  custom: {
    50: '#a384ef',
    500: '#7051e6',
    950: '#000000',
  },
}
SCSS
$custom: #7051e6;
$custom-light: #a384ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7051e6",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 252.483,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5531,
    "c": 0.214,
    "h": 286.7
  },
  "luminance": 0.15043
}

Semantic roles & 50–950 ramp

primary
#7051E6
secondary
#DAE5AD
accent
#D70EAD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7051E6

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

Preview Lab → · Contrast checker → · Palette generator →

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