#A945C8#A945C8

#A945C8 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.207 H 317.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A945C8
RGBrgb(169, 69, 200)
HSLhsl(286, 54%, 53%)
HSVhsv(286, 66%, 78%)
CMYKcmyk(15.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(48.09, 60.04, -50.09)
CIE-LCHlch(48.09, 78.19, 320.16°)
OKLaboklab(57.85% 0.1518 -0.1404)
OKLCHoklch(57.85% 0.207 317.2)
XYZxyz(28.9141, 16.8626, 56.3641)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945C8 #64C845
analogous
#6845C8 #A945C8 #C845A5
triadic
#A945C8 #C8A945 #45C8A9
tetradic
#A945C8 #C86845 #64C845 #45A5C8
square
#A945C8 #C86845 #64C845 #45A5C8
split-complementary
#A945C8 #A5C845 #45C868
monochromatic
#5E2171 #862FA0 #A945C8 #BF74D6 #D5A3E4

Accessibility & contrast

On white

4.80
#A945C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A945C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A945C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945C8#FFFFFF#000000##FFFFFF
##A945C81.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6CCC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#A85D81
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a945c8;
/* rgb */ color: rgb(169, 69, 200);
/* oklch */ color: oklch(57.9% 0.207 317.2);
Tailwind
colors: {
  custom: {
    50: '#c680d9',
    500: '#a945c8',
    950: '#000000',
  },
}
SCSS
$custom: #a945c8;
$custom-light: #c680d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a945c8",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 285.802,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.20683,
    "h": 317.2
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#A945C8
secondary
#A5D198
accent
#DE4A6D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A945C8

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

Preview Lab → · Contrast checker → · Palette generator →

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