#A945DD#A945DD

#A945DD is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.2% C 0.227 H 311.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A945DD
RGBrgb(169, 69, 221)
HSLhsl(279, 69%, 57%)
HSVhsv(279, 69%, 87%)
CMYKcmyk(23.5%, 68.8%, 0%, 13.3%)
CIE-LABlab(49.39, 64.30, -60.03)
CIE-LCHlch(49.39, 87.97, 316.97°)
OKLaboklab(59.2% 0.1504 -0.1696)
OKLCHoklch(59.2% 0.227 311.6)
XYZxyz(31.5390, 17.9125, 70.1886)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945DD #79DD45
analogous
#5D45DD #A945DD #DD45C5
triadic
#A945DD #DDA945 #45DDA9
tetradic
#A945DD #DD5D45 #79DD45 #45C5DD
square
#A945DD #DD5D45 #79DD45 #45C5DD
split-complementary
#A945DD #C5DD45 #45DD5D
monochromatic
#661A8E #8B23C1 #A945DD #C179E6 #D9ACF0

Accessibility & contrast

On white

4.58
#A945DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A945DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A945DD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945DD#FFFFFF#000000##000000
##A945DD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#A3658C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a945dd;
/* rgb */ color: rgb(169, 69, 221);
/* oklch */ color: oklch(59.2% 0.227 311.6);
Tailwind
colors: {
  custom: {
    50: '#c780e8',
    500: '#a945dd',
    950: '#000000',
  },
}
SCSS
$custom: #a945dd;
$custom-light: #c780e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a945dd",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 279.474,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.22666,
    "h": 311.6
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#A945DD
secondary
#B5DEA0
accent
#EC3C78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A945DD

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

Preview Lab → · Contrast checker → · Palette generator →

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