#A945AC#A945AC

#A945AC is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.181 H 326.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A945AC
RGBrgb(169, 69, 172)
HSLhsl(298, 43%, 47%)
HSVhsv(298, 60%, 67%)
CMYKcmyk(1.7%, 59.9%, 0%, 32.5%)
CIE-LABlab(46.54, 54.74, -36.22)
CIE-LCHlch(46.54, 65.64, 326.51°)
OKLaboklab(56.23% 0.1512 -0.1001)
OKLCHoklch(56.23% 0.181 326.5)
XYZxyz(25.9362, 15.6714, 40.6805)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945AC #48AC45
analogous
#7545AC #A945AC #AC457C
triadic
#A945AC #ACA945 #45ACA9
tetradic
#A945AC #AC7545 #48AC45 #457CAC
square
#A945AC #AC7545 #48AC45 #457CAC
split-complementary
#A945AC #7CAC45 #45AC75
monochromatic
#532255 #7E3380 #A945AC #C16BC4 #D396D5

Accessibility & contrast

On white

5.08
#A945AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A945AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A945AC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945AC#FFFFFF#000000##FFFFFF
##A945AC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3766AF
Deuteranopia (green-blind)
#5A73A9
Tritanopia (blue-blind)
#AD5272
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a945ac;
/* rgb */ color: rgb(169, 69, 172);
/* oklch */ color: oklch(56.2% 0.181 326.5);
Tailwind
colors: {
  custom: {
    50: '#c57fc5',
    500: '#a945ac',
    950: '#000000',
  },
}
SCSS
$custom: #a945ac;
$custom-light: #c57fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a945ac",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 298.252,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.18128,
    "h": 326.5
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#A945AC
secondary
#8DC18C
accent
#D35559
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A945AC

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

Preview Lab → · Contrast checker → · Palette generator →

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