#A945DB#A945DB

#A945DB is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.225 H 312.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A945DB
RGBrgb(169, 69, 219)
HSLhsl(280, 68%, 56%)
HSVhsv(280, 68%, 86%)
CMYKcmyk(22.8%, 68.5%, 0%, 14.1%)
CIE-LABlab(49.26, 63.89, -59.10)
CIE-LCHlch(49.26, 87.03, 317.23°)
OKLaboklab(59.07% 0.1506 -0.1668)
OKLCHoklch(59.07% 0.225 312.1)
XYZxyz(31.2742, 17.8066, 68.7936)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945DB #77DB45
analogous
#5E45DB #A945DB #DB45C2
triadic
#A945DB #DBA945 #45DBA9
tetradic
#A945DB #DB5E45 #77DB45 #45C2DB
square
#A945DB #DB5E45 #77DB45 #45C2DB
split-complementary
#A945DB #C2DB45 #45DB5E
monochromatic
#651B8B #8B25BE #A945DB #C178E5 #D8ACEF

Accessibility & contrast

On white

4.60
#A945DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A945DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A945DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945DB#FFFFFF#000000##FFFFFF
##A945DB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#A3658B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a945db;
/* rgb */ color: rgb(169, 69, 219);
/* oklch */ color: oklch(59.1% 0.225 312.1);
Tailwind
colors: {
  custom: {
    50: '#c780e7',
    500: '#a945db',
    950: '#000000',
  },
}
SCSS
$custom: #a945db;
$custom-light: #c780e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a945db",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 280,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59069,
    "c": 0.22476,
    "h": 312.1
  },
  "luminance": 0.17806
}

Semantic roles & 50–950 ramp

primary
#A945DB
secondary
#B4DD9F
accent
#EA3D77
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A945DB

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

Preview Lab → · Contrast checker → · Palette generator →

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