#7051D2#7051D2

#7051D2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.189 H 289.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7051D2
RGBrgb(112, 81, 210)
HSLhsl(254, 59%, 57%)
HSVhsv(254, 61%, 82%)
CMYKcmyk(46.7%, 61.4%, 0%, 17.6%)
CIE-LABlab(44.21, 43.97, -62.44)
CIE-LCHlch(44.21, 76.37, 305.15°)
OKLaboklab(53.77% 0.0633 -0.1785)
OKLCHoklch(53.77% 0.189 289.5)
XYZxyz(21.2541, 13.9819, 62.5392)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051D2 #B3D251
analogous
#5172D2 #7051D2 #B151D2
triadic
#7051D2 #D27051 #51D270
tetradic
#7051D2 #D25172 #B3D251 #51D2B1
square
#7051D2 #D25172 #B3D251 #51D2B1
split-complementary
#7051D2 #D2B151 #72D251
monochromatic
#3B2386 #502FB7 #7051D2 #9882DF #C0B2EB

Accessibility & contrast

On white

5.53
#7051D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7051D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051D2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051D2#FFFFFF#000000##FFFFFF
##7051D21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#516F8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7051d2;
/* rgb */ color: rgb(112, 81, 210);
/* oklch */ color: oklch(53.8% 0.189 289.5);
Tailwind
colors: {
  custom: {
    50: '#a083e1',
    500: '#7051d2',
    950: '#000000',
  },
}
SCSS
$custom: #7051d2;
$custom-light: #a083e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7051d2",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 254.419,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.18945,
    "h": 289.5
  },
  "luminance": 0.13983
}

Semantic roles & 50–950 ramp

primary
#7051D2
secondary
#CDDAA5
accent
#E246BD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7051D2

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

Preview Lab → · Contrast checker → · Palette generator →

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