#7142D0#7142D0

#7142D0 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.206 H 292.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7142D0
RGBrgb(113, 66, 208)
HSLhsl(260, 60%, 54%)
HSVhsv(260, 68%, 82%)
CMYKcmyk(45.7%, 68.3%, 0%, 18.4%)
CIE-LABlab(41.15, 51.74, -66.25)
CIE-LCHlch(41.15, 84.06, 307.99°)
OKLaboklab(51.54% 0.0802 -0.1897)
OKLCHoklch(51.54% 0.206 292.9)
XYZxyz(20.1403, 11.9606, 60.9097)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7142D0 #A1D042
analogous
#425AD0 #7142D0 #B842D0
triadic
#7142D0 #D07142 #42D071
tetradic
#7142D0 #D0425A #A1D042 #42D0B8
square
#7142D0 #D0425A #A1D042 #42D0B8
split-complementary
#7142D0 #D0B842 #5AD042
monochromatic
#3C1E79 #552AAA #7142D0 #9673DC #BBA4E8

Accessibility & contrast

On white

6.19
#7142D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7142D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7142D0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7142D0#FFFFFF#000000##FFFFFF
##7142D01.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#556584
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7142d0;
/* rgb */ color: rgb(113, 66, 208);
/* oklch */ color: oklch(51.5% 0.206 292.9);
Tailwind
colors: {
  custom: {
    50: '#a17adf',
    500: '#7142d0',
    950: '#000000',
  },
}
SCSS
$custom: #7142d0;
$custom-light: #a17adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7142d0",
  "rgb": {
    "r": 113,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 259.859,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.20597,
    "h": 292.9
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#7142D0
secondary
#C1D599
accent
#E344AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7142D0

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

Preview Lab → · Contrast checker → · Palette generator →

#7142D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva