#A042CA#A042CA

#A042CA is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.209 H 313.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A042CA
RGBrgb(160, 66, 202)
HSLhsl(281, 56%, 53%)
HSVhsv(281, 67%, 79%)
CMYKcmyk(20.8%, 67.3%, 0%, 20.8%)
CIE-LABlab(46.49, 59.74, -53.87)
CIE-LCHlch(46.49, 80.45, 317.96°)
OKLaboklab(56.49% 0.144 -0.1518)
OKLCHoklch(56.49% 0.209 313.5)
XYZxyz(27.1043, 15.6351, 57.4558)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A042CA #6CCA42
analogous
#5C42CA #A042CA #CA42B0
triadic
#A042CA #CAA042 #42CAA0
tetradic
#A042CA #CA5C42 #6CCA42 #42B0CA
square
#A042CA #CA5C42 #6CCA42 #42B0CA
split-complementary
#A042CA #B0CA42 #42CA5C
monochromatic
#582072 #7E2DA2 #A042CA #B872D7 #D0A2E5

Accessibility & contrast

On white

5.09
#A042CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A042CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A042CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A042CA#FFFFFF#000000##FFFFFF
##A042CA1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#9C5D81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a042ca;
/* rgb */ color: rgb(160, 66, 202);
/* oklch */ color: oklch(56.5% 0.209 313.5);
Tailwind
colors: {
  custom: {
    50: '#c07ddb',
    500: '#a042ca',
    950: '#000000',
  },
}
SCSS
$custom: #a042ca;
$custom-light: #c07ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#a042ca",
  "rgb": {
    "r": 160,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 281.471,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.20919,
    "h": 313.5
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#A042CA
secondary
#A9D196
accent
#DF4877
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A042CA

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

Preview Lab → · Contrast checker → · Palette generator →

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