#A042C0#A042C0

#A042C0 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.200 H 316.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A042C0
RGBrgb(160, 66, 192)
HSLhsl(285, 50%, 51%)
HSVhsv(285, 66%, 75%)
CMYKcmyk(16.7%, 65.6%, 0%, 24.7%)
CIE-LABlab(45.88, 57.70, -49.07)
CIE-LCHlch(45.88, 75.74, 319.62°)
OKLaboklab(55.85% 0.1445 -0.1377)
OKLCHoklch(55.85% 0.2 316.4)
XYZxyz(25.9584, 15.1768, 51.4210)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A042C0 #62C042
analogous
#6142C0 #A042C0 #C042A1
triadic
#A042C0 #C0A042 #42C0A0
tetradic
#A042C0 #C06142 #62C042 #42A1C0
square
#A042C0 #C06142 #62C042 #42A1C0
split-complementary
#A042C0 #A1C042 #42C061
monochromatic
#542266 #7B3194 #A042C0 #B770CF #CE9EDF

Accessibility & contrast

On white

5.20
#A042C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A042C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A042C0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A042C0#FFFFFF#000000##FFFFFF
##A042C01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A67C4
Deuteranopia (green-blind)
#436FBD
Tritanopia (blue-blind)
#9E597B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a042c0;
/* rgb */ color: rgb(160, 66, 192);
/* oklch */ color: oklch(55.8% 0.200 316.4);
Tailwind
colors: {
  custom: {
    50: '#c07dd4',
    500: '#a042c0',
    950: '#000000',
  },
}
SCSS
$custom: #a042c0;
$custom-light: #c07dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a042c0",
  "rgb": {
    "r": 160,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 284.762,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.1996,
    "h": 316.4
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#A042C0
secondary
#A1CB93
accent
#DA4E72
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A042C0

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

Preview Lab → · Contrast checker → · Palette generator →

#A042C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva