#A945D2#A945D2

#A945D2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.216 H 314.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A945D2
RGBrgb(169, 69, 210)
HSLhsl(283, 61%, 55%)
HSVhsv(283, 67%, 82%)
CMYKcmyk(19.5%, 67.1%, 0%, 17.6%)
CIE-LABlab(48.69, 62.04, -54.87)
CIE-LCHlch(48.69, 82.83, 318.51°)
OKLaboklab(58.48% 0.1514 -0.1544)
OKLCHoklch(58.48% 0.216 314.4)
XYZxyz(30.1212, 17.3454, 62.7216)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945D2 #6ED245
analogous
#6245D2 #A945D2 #D245B5
triadic
#A945D2 #D2A945 #45D2A9
tetradic
#A945D2 #D26245 #6ED245 #45B5D2
square
#A945D2 #D26245 #6ED245 #45B5D2
split-complementary
#A945D2 #B5D245 #45D262
monochromatic
#621F7E #892AAF #A945D2 #C076DE #D7A8EA

Accessibility & contrast

On white

4.70
#A945D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A945D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A945D2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945D2#FFFFFF#000000##FFFFFF
##A945D21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#A56186
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a945d2;
/* rgb */ color: rgb(169, 69, 210);
/* oklch */ color: oklch(58.5% 0.216 314.4);
Tailwind
colors: {
  custom: {
    50: '#c680e0',
    500: '#a945d2',
    950: '#000000',
  },
}
SCSS
$custom: #a945d2;
$custom-light: #c680e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a945d2",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 282.553,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.21623,
    "h": 314.4
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#A945D2
secondary
#ADD79C
accent
#E44472
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A945D2

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

Preview Lab → · Contrast checker → · Palette generator →

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