#A942C8#A942C8

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

Color values

HEX#A942C8
RGBrgb(169, 66, 200)
HSLhsl(286, 55%, 52%)
HSVhsv(286, 67%, 78%)
CMYKcmyk(15.5%, 67%, 0%, 21.6%)
CIE-LABlab(47.63, 61.32, -50.83)
CIE-LCHlch(47.63, 79.65, 320.34°)
OKLaboklab(57.52% 0.1552 -0.1426)
OKLCHoklch(57.52% 0.211 317.4)
XYZxyz(28.7342, 16.5028, 56.3041)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942C8 #61C842
analogous
#6642C8 #A942C8 #C842A4
triadic
#A942C8 #C8A942 #42C8A9
tetradic
#A942C8 #C86642 #61C842 #42A4C8
square
#A942C8 #C86642 #61C842 #42A4C8
split-complementary
#A942C8 #A4C842 #42C866
monochromatic
#5D206F #852E9F #A942C8 #BF71D6 #D4A1E4

Accessibility & contrast

On white

4.88
#A942C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A942C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A942C8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942C8#FFFFFF#000000##FFFFFF
##A942C81.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#4674C5
Tritanopia (blue-blind)
#A85B80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a942c8;
/* rgb */ color: rgb(169, 66, 200);
/* oklch */ color: oklch(57.5% 0.211 317.4);
Tailwind
colors: {
  custom: {
    50: '#c67ed9',
    500: '#a942c8',
    950: '#000000',
  },
}
SCSS
$custom: #a942c8;
$custom-light: #c67ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#a942c8",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 286.119,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.21072,
    "h": 317.4
  },
  "luminance": 0.16502
}

Semantic roles & 50–950 ramp

primary
#A942C8
secondary
#A3D096
accent
#DE4A6C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A942C8

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

Preview Lab → · Contrast checker → · Palette generator →

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