#A942CC#A942CC

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

Color values

HEX#A942CC
RGBrgb(169, 66, 204)
HSLhsl(285, 58%, 53%)
HSVhsv(285, 68%, 80%)
CMYKcmyk(17.2%, 67.6%, 0%, 20%)
CIE-LABlab(47.87, 62.11, -52.75)
CIE-LCHlch(47.87, 81.48, 319.66°)
OKLaboklab(57.77% 0.155 -0.1482)
OKLCHoklch(57.77% 0.214 316.3)
XYZxyz(29.2078, 16.6922, 58.7984)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942CC #65CC42
analogous
#6442CC #A942CC #CC42AA
triadic
#A942CC #CCA942 #42CCA9
tetradic
#A942CC #CC6442 #65CC42 #42AACC
square
#A942CC #CC6442 #65CC42 #42AACC
split-complementary
#A942CC #AACC42 #42CC64
monochromatic
#5F1F74 #862CA4 #A942CC #BF72D9 #D5A2E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A942CC#FFFFFF#000000##FFFFFF
##A942CC1.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)
#006BD0
Deuteranopia (green-blind)
#4275C9
Tritanopia (blue-blind)
#A75D82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a942cc;
/* rgb */ color: rgb(169, 66, 204);
/* oklch */ color: oklch(57.8% 0.214 316.3);
Tailwind
colors: {
  custom: {
    50: '#c67edc',
    500: '#a942cc',
    950: '#000000',
  },
}
SCSS
$custom: #a942cc;
$custom-light: #c67edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a942cc",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 284.783,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.21441,
    "h": 316.3
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#A942CC
secondary
#A6D397
accent
#E1476E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A942CC

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

Preview Lab → · Contrast checker → · Palette generator →

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