#A042CE#A042CE

#A042CE is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.213 H 312.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A042CE
RGBrgb(160, 66, 206)
HSLhsl(280, 59%, 53%)
HSVhsv(280, 68%, 81%)
CMYKcmyk(22.3%, 68%, 0%, 19.2%)
CIE-LABlab(46.75, 60.58, -55.77)
CIE-LCHlch(46.75, 82.34, 317.37°)
OKLaboklab(56.75% 0.1437 -0.1573)
OKLCHoklch(56.75% 0.213 312.4)
XYZxyz(27.5840, 15.8270, 59.9824)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A042CE #70CE42
analogous
#5A42CE #A042CE #CE42B6
triadic
#A042CE #CEA042 #42CEA0
tetradic
#A042CE #CE5A42 #70CE42 #42B6CE
square
#A042CE #CE5A42 #70CE42 #42B6CE
split-complementary
#A042CE #B6CE42 #42CE5A
monochromatic
#5A1F77 #7F2BA7 #A042CE #B873DB #D1A3E7

Accessibility & contrast

On white

5.04
#A042CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A042CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A042CE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A042CE#FFFFFF#000000##FFFFFF
##A042CE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#9B5F83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a042ce;
/* rgb */ color: rgb(160, 66, 206);
/* oklch */ color: oklch(56.8% 0.213 312.4);
Tailwind
colors: {
  custom: {
    50: '#c07dde',
    500: '#a042ce',
    950: '#000000',
  },
}
SCSS
$custom: #a042ce;
$custom-light: #c07dde;
$custom-dark: #000000;
JSON
{
  "hex": "#a042ce",
  "rgb": {
    "r": 160,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 280.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5675,
    "c": 0.21305,
    "h": 312.4
  },
  "luminance": 0.15826
}

Semantic roles & 50–950 ramp

primary
#A042CE
secondary
#ACD498
accent
#E24679
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A042CE

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

Preview Lab → · Contrast checker → · Palette generator →

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