#A042C9#A042C9

#A042C9 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.4% C 0.208 H 313.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A042C9
RGBrgb(160, 66, 201)
HSLhsl(282, 56%, 52%)
HSVhsv(282, 67%, 79%)
CMYKcmyk(20.4%, 67.2%, 0%, 21.2%)
CIE-LABlab(46.43, 59.54, -53.40)
CIE-LCHlch(46.43, 79.97, 318.11°)
OKLaboklab(56.42% 0.1441 -0.1504)
OKLCHoklch(56.42% 0.208 313.8)
XYZxyz(26.9862, 15.5879, 56.8342)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A042C9 #6BC942
analogous
#5D42C9 #A042C9 #C942AE
triadic
#A042C9 #C9A042 #42C9A0
tetradic
#A042C9 #C95D42 #6BC942 #42AEC9
square
#A042C9 #C95D42 #6BC942 #42AEC9
split-complementary
#A042C9 #AEC942 #42C95D
monochromatic
#582070 #7D2EA0 #A042C9 #B872D7 #D0A1E4

Accessibility & contrast

On white

5.10
#A042C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A042C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A042C9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A042C9#FFFFFF#000000##FFFFFF
##A042C91.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#3A70C6
Tritanopia (blue-blind)
#9C5D80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a042c9;
/* rgb */ color: rgb(160, 66, 201);
/* oklch */ color: oklch(56.4% 0.208 313.8);
Tailwind
colors: {
  custom: {
    50: '#c07dda',
    500: '#a042c9',
    950: '#000000',
  },
}
SCSS
$custom: #a042c9;
$custom-light: #c07dda;
$custom-dark: #000000;
JSON
{
  "hex": "#a042c9",
  "rgb": {
    "r": 160,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 281.778,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.20823,
    "h": 313.8
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#A042C9
secondary
#A8D196
accent
#DF4976
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A042C9

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

Preview Lab → · Contrast checker → · Palette generator →

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