#A945D9#A945D9

#A945D9 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.223 H 312.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A945D9
RGBrgb(169, 69, 217)
HSLhsl(281, 66%, 56%)
HSVhsv(281, 68%, 85%)
CMYKcmyk(22.1%, 68.2%, 0%, 14.9%)
CIE-LABlab(49.13, 63.48, -58.17)
CIE-LCHlch(49.13, 86.10, 317.50°)
OKLaboklab(58.94% 0.1508 -0.1641)
OKLCHoklch(58.94% 0.223 312.6)
XYZxyz(31.0125, 17.7019, 67.4153)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945D9 #75D945
analogous
#5F45D9 #A945D9 #D945BF
triadic
#A945D9 #D9A945 #45D9A9
tetradic
#A945D9 #D95F45 #75D945 #45BFD9
square
#A945D9 #D95F45 #75D945 #45BFD9
split-complementary
#A945D9 #BFD945 #45D95F
monochromatic
#651C88 #8A26BB #A945D9 #C078E3 #D8ABEE

Accessibility & contrast

On white

4.63
#A945D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A945D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A945D9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945D9#FFFFFF#000000##FFFFFF
##A945D91.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#A4648A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a945d9;
/* rgb */ color: rgb(169, 69, 217);
/* oklch */ color: oklch(58.9% 0.223 312.6);
Tailwind
colors: {
  custom: {
    50: '#c780e5',
    500: '#a945d9',
    950: '#000000',
  },
}
SCSS
$custom: #a945d9;
$custom-light: #c780e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a945d9",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 280.541,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58937,
    "c": 0.22286,
    "h": 312.6
  },
  "luminance": 0.17701
}

Semantic roles & 50–950 ramp

primary
#A945D9
secondary
#B2DB9E
accent
#E93F76
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A945D9

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

Preview Lab → · Contrast checker → · Palette generator →

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