#A942DC#A942DC

#A942DC is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.229 H 312.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A942DC
RGBrgb(169, 66, 220)
HSLhsl(280, 69%, 56%)
HSVhsv(280, 70%, 86%)
CMYKcmyk(23.2%, 70%, 0%, 13.7%)
CIE-LABlab(48.88, 65.34, -60.28)
CIE-LCHlch(48.88, 88.89, 317.31°)
OKLaboklab(58.82% 0.1536 -0.1703)
OKLCHoklch(58.82% 0.229 312)
XYZxyz(31.2263, 17.4996, 69.4291)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942DC #75DC42
analogous
#5C42DC #A942DC #DC42C2
triadic
#A942DC #DCA942 #42DCA9
tetradic
#A942DC #DC5C42 #75DC42 #42C2DC
square
#A942DC #DC5C42 #75DC42 #42C2DC
split-complementary
#A942DC #C2DC42 #42DC5C
monochromatic
#651A8A #8A23BE #A942DC #C076E6 #D8A9EF

Accessibility & contrast

On white

4.67
#A942DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A942DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A942DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942DC#FFFFFF#000000##FFFFFF
##A942DC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#A3638B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a942dc;
/* rgb */ color: rgb(169, 66, 220);
/* oklch */ color: oklch(58.8% 0.229 312.0);
Tailwind
colors: {
  custom: {
    50: '#c77fe8',
    500: '#a942dc',
    950: '#000000',
  },
}
SCSS
$custom: #a942dc;
$custom-light: #c77fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#a942dc",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 280.13,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.22929,
    "h": 312
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#A942DC
secondary
#B2DD9D
accent
#EC3C76
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A942DC

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

Preview Lab → · Contrast checker → · Palette generator →

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