#7051DF#7051DF

#7051DF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.8% C 0.205 H 287.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7051DF
RGBrgb(112, 81, 223)
HSLhsl(253, 69%, 60%)
HSVhsv(253, 64%, 87%)
CMYKcmyk(49.8%, 63.7%, 0%, 12.5%)
CIE-LABlab(45.16, 47.69, -68.32)
CIE-LCHlch(45.16, 83.32, 304.91°)
OKLaboklab(54.76% 0.0623 -0.1958)
OKLCHoklch(54.76% 0.206 287.6)
XYZxyz(22.9399, 14.6563, 71.4179)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051DF #C0DF51
analogous
#5179DF #7051DF #B751DF
triadic
#7051DF #DF7051 #51DF70
tetradic
#7051DF #DF5179 #C0DF51 #51DFB7
square
#7051DF #DF5179 #C0DF51 #51DFB7
split-complementary
#7051DF #DFB751 #79DF51
monochromatic
#381C99 #4A26CD #7051DF #9A85E9 #C5B8F2

Accessibility & contrast

On white

5.34
#7051DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7051DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051DF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051DF#FFFFFF#000000##FFFFFF
##7051DF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#487391
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7051df;
/* rgb */ color: rgb(112, 81, 223);
/* oklch */ color: oklch(54.8% 0.205 287.6);
Tailwind
colors: {
  custom: {
    50: '#a283ea',
    500: '#7051df',
    950: '#000000',
  },
}
SCSS
$custom: #7051df;
$custom-light: #a283ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7051df",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 253.099,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.2055,
    "h": 287.6
  },
  "luminance": 0.14657
}

Semantic roles & 50–950 ramp

primary
#7051DF
secondary
#D5E1AA
accent
#EC3CC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7051DF

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

Preview Lab → · Contrast checker → · Palette generator →

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