#7051F4#7051F4

#7051F4 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.231 H 285.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7051F4
RGBrgb(112, 81, 244)
HSLhsl(251, 88%, 64%)
HSVhsv(251, 67%, 96%)
CMYKcmyk(54.1%, 66.8%, 0%, 4.3%)
CIE-LABlab(46.79, 53.71, -77.52)
CIE-LCHlch(46.79, 94.31, 304.72°)
OKLaboklab(56.44% 0.0597 -0.2228)
OKLCHoklch(56.44% 0.231 285)
XYZxyz(25.9487, 15.8598, 87.2643)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051F4 #D5F451
analogous
#5183F4 #7051F4 #C151F4
triadic
#7051F4 #F47051 #51F470
tetradic
#7051F4 #F45183 #D5F451 #51F4C1
square
#7051F4 #F45183 #D5F451 #51F4C1
split-complementary
#7051F4 #F4C151 #83F451
monochromatic
#2E0CBF #4117F0 #7051F4 #9F8BF8 #CFC4FB

Accessibility & contrast

On white

5.03
#7051F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7051F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051F4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051F4#FFFFFF#000000##FFFFFF
##7051F41.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#357B9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7051f4;
/* rgb */ color: rgb(112, 81, 244);
/* oklch */ color: oklch(56.4% 0.231 285.0);
Tailwind
colors: {
  custom: {
    50: '#a584f9',
    500: '#7051f4',
    950: '#000000',
  },
}
SCSS
$custom: #7051f4;
$custom-light: #a584f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7051f4",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 244
  },
  "hsl": {
    "h": 251.411,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.2307,
    "h": 285
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#7051F4
secondary
#E2EDB4
accent
#E501B9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7051F4

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

Preview Lab → · Contrast checker → · Palette generator →

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