#7051E8#7051E8

#7051E8 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.216 H 286.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7051E8
RGBrgb(112, 81, 232)
HSLhsl(252, 77%, 61%)
HSVhsv(252, 65%, 91%)
CMYKcmyk(51.7%, 65.1%, 0%, 9%)
CIE-LABlab(45.85, 50.27, -72.31)
CIE-LCHlch(45.85, 88.06, 304.81°)
OKLaboklab(55.47% 0.0613 -0.2075)
OKLCHoklch(55.47% 0.216 286.4)
XYZxyz(24.1857, 15.1546, 77.9790)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051E8 #C9E851
analogous
#517EE8 #7051E8 #BC51E8
triadic
#7051E8 #E87051 #51E870
tetradic
#7051E8 #E8517E #C9E851 #51E8BC
square
#7051E8 #E8517E #C9E851 #51E8BC
split-complementary
#7051E8 #E8BC51 #7EE851
monochromatic
#3416A8 #451DDE #7051E8 #9C87EF #C9BDF6

Accessibility & contrast

On white

5.21
#7051E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7051E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051E8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051E8#FFFFFF#000000##FFFFFF
##7051E81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#417796
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7051e8;
/* rgb */ color: rgb(112, 81, 232);
/* oklch */ color: oklch(55.5% 0.216 286.4);
Tailwind
colors: {
  custom: {
    50: '#a384f0',
    500: '#7051e8',
    950: '#000000',
  },
}
SCSS
$custom: #7051e8;
$custom-light: #a384f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7051e8",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 252.318,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55469,
    "c": 0.21641,
    "h": 286.4
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#7051E8
secondary
#DBE7AE
accent
#D90DAF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7051E8

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

Preview Lab → · Contrast checker → · Palette generator →

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