#A945DF#A945DF

#A945DF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.3% C 0.229 H 311.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A945DF
RGBrgb(169, 69, 223)
HSLhsl(279, 71%, 57%)
HSVhsv(279, 69%, 87%)
CMYKcmyk(24.2%, 69.1%, 0%, 12.5%)
CIE-LABlab(49.52, 64.72, -60.95)
CIE-LCHlch(49.52, 88.91, 316.72°)
OKLaboklab(59.34% 0.1502 -0.1723)
OKLCHoklch(59.34% 0.229 311.1)
XYZxyz(31.8071, 18.0197, 71.6003)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945DF #7BDF45
analogous
#5C45DF #A945DF #DF45C8
triadic
#A945DF #DFA945 #45DFA9
tetradic
#A945DF #DF5C45 #7BDF45 #45C8DF
square
#A945DF #DF5C45 #7BDF45 #45C8DF
split-complementary
#A945DF #C8DF45 #45DF5C
monochromatic
#671991 #8C22C5 #A945DF #C179E8 #D9ADF1

Accessibility & contrast

On white

4.56
#A945DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A945DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A945DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945DF#FFFFFF#000000##000000
##A945DF1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#2F77DC
Tritanopia (blue-blind)
#A2668D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a945df;
/* rgb */ color: rgb(169, 69, 223);
/* oklch */ color: oklch(59.3% 0.229 311.1);
Tailwind
colors: {
  custom: {
    50: '#c780ea',
    500: '#a945df',
    950: '#000000',
  },
}
SCSS
$custom: #a945df;
$custom-light: #c780ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a945df",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 278.961,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59337,
    "c": 0.22857,
    "h": 311.1
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#A945DF
secondary
#B7DFA1
accent
#ED3A79
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A945DF

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

Preview Lab → · Contrast checker → · Palette generator →

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