#A942BA#A942BA

#A942BA is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.198 H 321.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A942BA
RGBrgb(169, 66, 186)
HSLhsl(292, 48%, 49%)
HSVhsv(292, 65%, 73%)
CMYKcmyk(9.1%, 64.5%, 0%, 27.1%)
CIE-LABlab(46.81, 58.63, -44.00)
CIE-LCHlch(46.81, 73.30, 323.12°)
OKLaboklab(56.67% 0.1554 -0.1226)
OKLCHoklch(56.67% 0.198 321.7)
XYZxyz(27.1724, 15.8780, 48.0784)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942BA #53BA42
analogous
#6D42BA #A942BA #BA428F
triadic
#A942BA #BAA942 #42BAA9
tetradic
#A942BA #BA6D42 #53BA42 #428FBA
square
#A942BA #BA6D42 #53BA42 #428FBA
split-complementary
#A942BA #8FBA42 #42BA6D
monochromatic
#572260 #80328D #A942BA #BE6ECB #D29BDB

Accessibility & contrast

On white

5.03
#A942BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A942BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A942BA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942BA#FFFFFF#000000##FFFFFF
##A942BA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BE
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#AB5678
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a942ba;
/* rgb */ color: rgb(169, 66, 186);
/* oklch */ color: oklch(56.7% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#c67ecf',
    500: '#a942ba',
    950: '#000000',
  },
}
SCSS
$custom: #a942ba;
$custom-light: #c67ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#a942ba",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 291.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.19797,
    "h": 321.7
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#A942BA
secondary
#98C890
accent
#D75164
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A942BA

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

Preview Lab → · Contrast checker → · Palette generator →

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