#7051DB#7051DB

#7051DB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.4% C 0.201 H 288.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7051DB
RGBrgb(112, 81, 219)
HSLhsl(253, 66%, 59%)
HSVhsv(253, 63%, 86%)
CMYKcmyk(48.9%, 63%, 0%, 14.1%)
CIE-LABlab(44.86, 46.54, -66.53)
CIE-LCHlch(44.86, 81.19, 304.97°)
OKLaboklab(54.45% 0.0627 -0.1906)
OKLCHoklch(54.45% 0.201 288.2)
XYZxyz(22.4070, 14.4431, 68.6113)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051DB #BCDB51
analogous
#5177DB #7051DB #B551DB
triadic
#7051DB #DB7051 #51DB70
tetradic
#7051DB #DB5177 #BCDB51 #51DBB5
square
#7051DB #DB5177 #BCDB51 #51DBB5
split-complementary
#7051DB #DBB551 #77DB51
monochromatic
#391E93 #4C29C6 #7051DB #9A84E5 #C3B6F0

Accessibility & contrast

On white

5.40
#7051DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7051DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051DB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051DB#FFFFFF#000000##FFFFFF
##7051DB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#4B728F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7051db;
/* rgb */ color: rgb(112, 81, 219);
/* oklch */ color: oklch(54.4% 0.201 288.2);
Tailwind
colors: {
  custom: {
    50: '#a183e7',
    500: '#7051db',
    950: '#000000',
  },
}
SCSS
$custom: #7051db;
$custom-light: #a183e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7051db",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 253.478,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.2006,
    "h": 288.2
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#7051DB
secondary
#D3DFA9
accent
#E93FC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7051DB

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

Preview Lab → · Contrast checker → · Palette generator →

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