#A842CE#A842CE

#A842CE is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.216 H 315.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A842CE
RGBrgb(168, 66, 206)
HSLhsl(284, 59%, 53%)
HSVhsv(284, 68%, 81%)
CMYKcmyk(18.4%, 68%, 0%, 19.2%)
CIE-LABlab(47.85, 62.29, -53.93)
CIE-LCHlch(47.85, 82.39, 319.11°)
OKLaboklab(57.77% 0.1536 -0.1517)
OKLCHoklch(57.77% 0.216 315.4)
XYZxyz(29.2355, 16.6785, 60.0598)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A842CE #68CE42
analogous
#6242CE #A842CE #CE42AE
triadic
#A842CE #CEA842 #42CEA8
tetradic
#A842CE #CE6242 #68CE42 #42AECE
square
#A842CE #CE6242 #68CE42 #42AECE
split-complementary
#A842CE #AECE42 #42CE62
monochromatic
#5F1F77 #862BA7 #A842CE #BE73DB #D5A3E7

Accessibility & contrast

On white

4.84
#A842CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A842CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A842CE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A842CE#FFFFFF#000000##FFFFFF
##A842CE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#A55E83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a842ce;
/* rgb */ color: rgb(168, 66, 206);
/* oklch */ color: oklch(57.8% 0.216 315.4);
Tailwind
colors: {
  custom: {
    50: '#c67ede',
    500: '#a842ce',
    950: '#000000',
  },
}
SCSS
$custom: #a842ce;
$custom-light: #c67ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a842ce",
  "rgb": {
    "r": 168,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 283.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.21588,
    "h": 315.4
  },
  "luminance": 0.16677
}

Semantic roles & 50–950 ramp

primary
#A842CE
secondary
#A8D498
accent
#E24670
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A842CE

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

Preview Lab → · Contrast checker → · Palette generator →

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