#7051CD#7051CD

#7051CD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.183 H 290.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7051CD
RGBrgb(112, 81, 205)
HSLhsl(255, 55%, 56%)
HSVhsv(255, 60%, 80%)
CMYKcmyk(45.4%, 60.5%, 0%, 19.6%)
CIE-LABlab(43.85, 42.55, -60.14)
CIE-LCHlch(43.85, 73.67, 305.28°)
OKLaboklab(53.4% 0.0636 -0.1718)
OKLCHoklch(53.4% 0.183 290.3)
XYZxyz(20.6409, 13.7366, 59.3097)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051CD #AECD51
analogous
#5170CD #7051CD #AE51CD
triadic
#7051CD #CD7051 #51CD70
tetradic
#7051CD #CD5170 #AECD51 #51CDAE
square
#7051CD #CD5170 #AECD51 #51CDAE
split-complementary
#7051CD #CDAE51 #70CD51
monochromatic
#3B257F #5132AF #7051CD #9781DB #BEB0E8

Accessibility & contrast

On white

5.60
#7051CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7051CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051CD#FFFFFF#000000##FFFFFF
##7051CD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#546D87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7051cd;
/* rgb */ color: rgb(112, 81, 205);
/* oklch */ color: oklch(53.4% 0.183 290.3);
Tailwind
colors: {
  custom: {
    50: '#a083dd',
    500: '#7051cd',
    950: '#000000',
  },
}
SCSS
$custom: #7051cd;
$custom-light: #a083dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7051cd",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 255,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.18319,
    "h": 290.3
  },
  "luminance": 0.13737
}

Semantic roles & 50–950 ramp

primary
#7051CD
secondary
#CAD7A3
accent
#DF49B9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7051CD

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

Preview Lab → · Contrast checker → · Palette generator →

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