#A942BC#A942BC

#A942BC is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.8% C 0.200 H 321.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A942BC
RGBrgb(169, 66, 188)
HSLhsl(291, 48%, 50%)
HSVhsv(291, 65%, 74%)
CMYKcmyk(10.1%, 64.9%, 0%, 26.3%)
CIE-LABlab(46.93, 59.01, -44.98)
CIE-LCHlch(46.93, 74.20, 322.68°)
OKLaboklab(56.79% 0.1554 -0.1255)
OKLCHoklch(56.79% 0.2 321.1)
XYZxyz(27.3865, 15.9637, 49.2060)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942BC #55BC42
analogous
#6C42BC #A942BC #BC4292
triadic
#A942BC #BCA942 #42BCA9
tetradic
#A942BC #BC6C42 #55BC42 #4292BC
square
#A942BC #BC6C42 #55BC42 #4292BC
split-complementary
#A942BC #92BC42 #42BC6C
monochromatic
#582261 #80328F #A942BC #BE6FCC #D29CDC

Accessibility & contrast

On white

5.01
#A942BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A942BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A942BC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942BC#FFFFFF#000000##FFFFFF
##A942BC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#AA5679
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a942bc;
/* rgb */ color: rgb(169, 66, 188);
/* oklch */ color: oklch(56.8% 0.200 321.1);
Tailwind
colors: {
  custom: {
    50: '#c67ed1',
    500: '#a942bc',
    950: '#000000',
  },
}
SCSS
$custom: #a942bc;
$custom-light: #c67ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#a942bc",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 290.656,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.19977,
    "h": 321.1
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#A942BC
secondary
#9AC991
accent
#D85065
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A942BC

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

Preview Lab → · Contrast checker → · Palette generator →

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