#A942CA#A942CA

#A942CA is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.6% C 0.213 H 316.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A942CA
RGBrgb(169, 66, 202)
HSLhsl(285, 56%, 53%)
HSVhsv(285, 67%, 79%)
CMYKcmyk(16.3%, 67.3%, 0%, 20.8%)
CIE-LABlab(47.75, 61.71, -51.79)
CIE-LCHlch(47.75, 80.56, 320.00°)
OKLaboklab(57.65% 0.1551 -0.1454)
OKLCHoklch(57.65% 0.213 316.8)
XYZxyz(28.9695, 16.5969, 57.5432)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942CA #63CA42
analogous
#6542CA #A942CA #CA42A7
triadic
#A942CA #CAA942 #42CAA9
tetradic
#A942CA #CA6542 #63CA42 #42A7CA
square
#A942CA #CA6542 #63CA42 #42A7CA
split-complementary
#A942CA #A7CA42 #42CA65
monochromatic
#5E2072 #852DA2 #A942CA #BF72D7 #D4A2E5

Accessibility & contrast

On white

4.86
#A942CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A942CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A942CA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942CA#FFFFFF#000000##FFFFFF
##A942CA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#A75C81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a942ca;
/* rgb */ color: rgb(169, 66, 202);
/* oklch */ color: oklch(57.6% 0.213 316.8);
Tailwind
colors: {
  custom: {
    50: '#c67edb',
    500: '#a942ca',
    950: '#000000',
  },
}
SCSS
$custom: #a942ca;
$custom-light: #c67edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a942ca",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 285.441,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.21256,
    "h": 316.8
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#A942CA
secondary
#A5D196
accent
#DF486D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A942CA

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

Preview Lab → · Contrast checker → · Palette generator →

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