#A945DC#A945DC

#A945DC is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.226 H 311.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A945DC
RGBrgb(169, 69, 220)
HSLhsl(280, 68%, 57%)
HSVhsv(280, 69%, 86%)
CMYKcmyk(23.2%, 68.6%, 0%, 13.7%)
CIE-LABlab(49.33, 64.10, -59.56)
CIE-LCHlch(49.33, 87.50, 317.10°)
OKLaboklab(59.14% 0.1505 -0.1682)
OKLCHoklch(59.14% 0.226 311.8)
XYZxyz(31.4062, 17.8594, 69.4891)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945DC #78DC45
analogous
#5E45DC #A945DC #DC45C4
triadic
#A945DC #DCA945 #45DCA9
tetradic
#A945DC #DC5E45 #78DC45 #45C4DC
square
#A945DC #DC5E45 #78DC45 #45C4DC
split-complementary
#A945DC #C4DC45 #45DC5E
monochromatic
#661A8C #8B24C0 #A945DC #C179E6 #D9ACEF

Accessibility & contrast

On white

4.59
#A945DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A945DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A945DC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945DC#FFFFFF#000000##FFFFFF
##A945DC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#3477D9
Tritanopia (blue-blind)
#A3658C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a945dc;
/* rgb */ color: rgb(169, 69, 220);
/* oklch */ color: oklch(59.1% 0.226 311.8);
Tailwind
colors: {
  custom: {
    50: '#c780e8',
    500: '#a945dc',
    950: '#000000',
  },
}
SCSS
$custom: #a945dc;
$custom-light: #c780e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a945dc",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 279.735,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.22572,
    "h": 311.8
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#A945DC
secondary
#B4DDA0
accent
#EB3D78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A945DC

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

Preview Lab → · Contrast checker → · Palette generator →

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