#A942C7#A942C7

#A942C7 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.210 H 317.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A942C7
RGBrgb(169, 66, 199)
HSLhsl(286, 54%, 52%)
HSVhsv(286, 67%, 78%)
CMYKcmyk(15.1%, 66.8%, 0%, 22%)
CIE-LABlab(47.57, 61.12, -50.35)
CIE-LCHlch(47.57, 79.19, 320.52°)
OKLaboklab(57.46% 0.1552 -0.1412)
OKLCHoklch(57.46% 0.21 317.7)
XYZxyz(28.6177, 16.4562, 55.6907)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942C7 #60C742
analogous
#6742C7 #A942C7 #C742A3
triadic
#A942C7 #C7A942 #42C7A9
tetradic
#A942C7 #C76742 #60C742 #42A3C7
square
#A942C7 #C76742 #60C742 #42A3C7
split-complementary
#A942C7 #A3C742 #42C767
monochromatic
#5D216E #842F9D #A942C7 #BE71D5 #D4A0E3

Accessibility & contrast

On white

4.89
#A942C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A942C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A942C7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942C7#FFFFFF#000000##FFFFFF
##A942C71.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036ACB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#A85B7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a942c7;
/* rgb */ color: rgb(169, 66, 199);
/* oklch */ color: oklch(57.5% 0.210 317.7);
Tailwind
colors: {
  custom: {
    50: '#c67ed9',
    500: '#a942c7',
    950: '#000000',
  },
}
SCSS
$custom: #a942c7;
$custom-light: #c67ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#a942c7",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 286.466,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57459,
    "c": 0.2098,
    "h": 317.7
  },
  "luminance": 0.16455
}

Semantic roles & 50–950 ramp

primary
#A942C7
secondary
#A2D095
accent
#DE4A6B
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A942C7

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

Preview Lab → · Contrast checker → · Palette generator →

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