#7051E4#7051E4

#7051E4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.212 H 287.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7051E4
RGBrgb(112, 81, 228)
HSLhsl(253, 73%, 61%)
HSVhsv(253, 64%, 89%)
CMYKcmyk(50.9%, 64.5%, 0%, 10.6%)
CIE-LABlab(45.54, 49.12, -70.55)
CIE-LCHlch(45.54, 85.96, 304.85°)
OKLaboklab(55.15% 0.0618 -0.2024)
OKLCHoklch(55.15% 0.212 287)
XYZxyz(23.6240, 14.9299, 75.0207)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051E4 #C5E451
analogous
#517BE4 #7051E4 #B951E4
triadic
#7051E4 #E47051 #51E470
tetradic
#7051E4 #E4517B #C5E451 #51E4B9
square
#7051E4 #E4517B #C5E451 #51E4B9
split-complementary
#7051E4 #E4B951 #7BE451
monochromatic
#3619A2 #4821D7 #7051E4 #9C86EC #C7BBF4

Accessibility & contrast

On white

5.27
#7051E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7051E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051E4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051E4#FFFFFF#000000##FFFFFF
##7051E41.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#447593
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7051e4;
/* rgb */ color: rgb(112, 81, 228);
/* oklch */ color: oklch(55.2% 0.212 287.0);
Tailwind
colors: {
  custom: {
    50: '#a284ee',
    500: '#7051e4',
    950: '#000000',
  },
}
SCSS
$custom: #7051e4;
$custom-light: #a284ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7051e4",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 252.653,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.21158,
    "h": 287
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#7051E4
secondary
#D9E4AC
accent
#D510AC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7051E4

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

Preview Lab → · Contrast checker → · Palette generator →

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