#A042C3#A042C3

#A042C3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.0% C 0.202 H 315.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A042C3
RGBrgb(160, 66, 195)
HSLhsl(284, 52%, 51%)
HSVhsv(284, 66%, 76%)
CMYKcmyk(17.9%, 66.2%, 0%, 23.5%)
CIE-LABlab(46.06, 58.31, -50.52)
CIE-LCHlch(46.06, 77.15, 319.09°)
OKLaboklab(56.04% 0.1444 -0.1419)
OKLCHoklch(56.04% 0.202 315.5)
XYZxyz(26.2942, 15.3111, 53.1894)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A042C3 #65C342
analogous
#5F42C3 #A042C3 #C342A5
triadic
#A042C3 #C3A042 #42C3A0
tetradic
#A042C3 #C35F42 #65C342 #42A5C3
square
#A042C3 #C35F42 #65C342 #42A5C3
split-complementary
#A042C3 #A5C342 #42C35F
monochromatic
#562169 #7C3098 #A042C3 #B770D2 #CF9FE0

Accessibility & contrast

On white

5.17
#A042C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A042C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A042C3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A042C3#FFFFFF#000000##FFFFFF
##A042C31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#4070C0
Tritanopia (blue-blind)
#9E5B7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a042c3;
/* rgb */ color: rgb(160, 66, 195);
/* oklch */ color: oklch(56.0% 0.202 315.5);
Tailwind
colors: {
  custom: {
    50: '#c07dd6',
    500: '#a042c3',
    950: '#000000',
  },
}
SCSS
$custom: #a042c3;
$custom-light: #c07dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a042c3",
  "rgb": {
    "r": 160,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 283.721,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.20247,
    "h": 315.5
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#A042C3
secondary
#A3CD94
accent
#DB4D73
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A042C3

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

Preview Lab → · Contrast checker → · Palette generator →

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