#A945D8#A945D8

#A945D8 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.222 H 312.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A945D8
RGBrgb(169, 69, 216)
HSLhsl(281, 65%, 56%)
HSVhsv(281, 68%, 85%)
CMYKcmyk(21.8%, 68.1%, 0%, 15.3%)
CIE-LABlab(49.07, 63.27, -57.70)
CIE-LCHlch(49.07, 85.63, 317.64°)
OKLaboklab(58.87% 0.1509 -0.1627)
OKLCHoklch(58.87% 0.222 312.8)
XYZxyz(30.8828, 17.6500, 66.7324)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945D8 #74D845
analogous
#5F45D8 #A945D8 #D845BE
triadic
#A945D8 #D8A945 #45D8A9
tetradic
#A945D8 #D85F45 #74D845 #45BED8
square
#A945D8 #D85F45 #74D845 #45BED8
split-complementary
#A945D8 #BED845 #45D85F
monochromatic
#641C86 #8A27B9 #A945D8 #C078E3 #D8AAED

Accessibility & contrast

On white

4.64
#A945D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A945D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A945D8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945D8#FFFFFF#000000##FFFFFF
##A945D81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3977D5
Tritanopia (blue-blind)
#A46389
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a945d8;
/* rgb */ color: rgb(169, 69, 216);
/* oklch */ color: oklch(58.9% 0.222 312.8);
Tailwind
colors: {
  custom: {
    50: '#c780e5',
    500: '#a945d8',
    950: '#000000',
  },
}
SCSS
$custom: #a945d8;
$custom-light: #c780e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a945d8",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 280.816,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58871,
    "c": 0.22191,
    "h": 312.8
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#A945D8
secondary
#B1DB9E
accent
#E84075
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A945D8

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

Preview Lab → · Contrast checker → · Palette generator →

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