#A842D0#A842D0

#A842D0 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.218 H 314.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A842D0
RGBrgb(168, 66, 208)
HSLhsl(283, 60%, 54%)
HSVhsv(283, 68%, 82%)
CMYKcmyk(19.2%, 68.3%, 0%, 18.4%)
CIE-LABlab(47.98, 62.69, -54.88)
CIE-LCHlch(47.98, 83.32, 318.80°)
OKLaboklab(57.9% 0.1535 -0.1545)
OKLCHoklch(57.9% 0.218 314.8)
XYZxyz(29.4800, 16.7763, 61.3475)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A842D0 #6AD042
analogous
#6142D0 #A842D0 #D042B1
triadic
#A842D0 #D0A842 #42D0A8
tetradic
#A842D0 #D06142 #6AD042 #42B1D0
square
#A842D0 #D06142 #6AD042 #42B1D0
split-complementary
#A842D0 #B1D042 #42D061
monochromatic
#601E79 #862AAA #A842D0 #BF73DC #D5A4E8

Accessibility & contrast

On white

4.82
#A842D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A842D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A842D0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A842D0#FFFFFF#000000##FFFFFF
##A842D01.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#3D74CD
Tritanopia (blue-blind)
#A55E84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a842d0;
/* rgb */ color: rgb(168, 66, 208);
/* oklch */ color: oklch(57.9% 0.218 314.8);
Tailwind
colors: {
  custom: {
    50: '#c67edf',
    500: '#a842d0',
    950: '#000000',
  },
}
SCSS
$custom: #a842d0;
$custom-light: #c67edf;
$custom-dark: #000000;
JSON
{
  "hex": "#a842d0",
  "rgb": {
    "r": 168,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 283.099,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.579,
    "c": 0.21775,
    "h": 314.8
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#A842D0
secondary
#AAD599
accent
#E34471
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A842D0

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

Preview Lab → · Contrast checker → · Palette generator →

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