#7051CA#7051CA

#7051CA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.179 H 290.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7051CA
RGBrgb(112, 81, 202)
HSLhsl(255, 53%, 55%)
HSVhsv(255, 60%, 79%)
CMYKcmyk(44.6%, 59.9%, 0%, 20.8%)
CIE-LABlab(43.64, 41.70, -58.75)
CIE-LCHlch(43.64, 72.05, 305.37°)
OKLaboklab(53.18% 0.0638 -0.1677)
OKLCHoklch(53.18% 0.179 290.8)
XYZxyz(20.2822, 13.5932, 57.4208)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051CA #ABCA51
analogous
#516ECA #7051CA #AC51CA
triadic
#7051CA #CA7051 #51CA70
tetradic
#7051CA #CA516E #ABCA51 #51CAAC
square
#7051CA #CA516E #ABCA51 #51CAAC
split-complementary
#7051CA #CAAC51 #6ECA51
monochromatic
#3B257B #5234AA #7051CA #9780D8 #BDAFE7

Accessibility & contrast

On white

5.65
#7051CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7051CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051CA#FFFFFF#000000##FFFFFF
##7051CA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#556C86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7051ca;
/* rgb */ color: rgb(112, 81, 202);
/* oklch */ color: oklch(53.2% 0.179 290.8);
Tailwind
colors: {
  custom: {
    50: '#9f83db',
    500: '#7051ca',
    950: '#000000',
  },
}
SCSS
$custom: #7051ca;
$custom-light: #9f83db;
$custom-dark: #000000;
JSON
{
  "hex": "#7051ca",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 255.372,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53177,
    "c": 0.17941,
    "h": 290.8
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#7051CA
secondary
#C8D5A2
accent
#DD4BB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7051CA

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

Preview Lab → · Contrast checker → · Palette generator →

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