#A940D0#A940D0

#A940D0 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.221 H 315.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A940D0
RGBrgb(169, 64, 208)
HSLhsl(284, 61%, 53%)
HSVhsv(284, 69%, 82%)
CMYKcmyk(18.8%, 69.2%, 0%, 18.4%)
CIE-LABlab(47.82, 63.73, -55.12)
CIE-LCHlch(47.82, 84.26, 319.14°)
OKLaboklab(57.82% 0.1568 -0.1551)
OKLCHoklch(57.82% 0.221 315.3)
XYZxyz(29.5789, 16.6569, 61.3193)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940D0 #67D040
analogous
#6140D0 #A940D0 #D040AF
triadic
#A940D0 #D0A940 #40D0A9
tetradic
#A940D0 #D06140 #67D040 #40AFD0
square
#A940D0 #D06140 #67D040 #40AFD0
split-complementary
#A940D0 #AFD040 #40D061
monochromatic
#601E78 #872AA9 #A940D0 #BF71DC #D5A2E8

Accessibility & contrast

On white

4.85
#A940D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A940D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940D0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940D0#FFFFFF#000000##FFFFFF
##A940D01.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#3D74CD
Tritanopia (blue-blind)
#A65D84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a940d0;
/* rgb */ color: rgb(169, 64, 208);
/* oklch */ color: oklch(57.8% 0.221 315.3);
Tailwind
colors: {
  custom: {
    50: '#c77ddf',
    500: '#a940d0',
    950: '#000000',
  },
}
SCSS
$custom: #a940d0;
$custom-light: #c77ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#a940d0",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 283.75,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.22055,
    "h": 315.3
  },
  "luminance": 0.16656
}

Semantic roles & 50–950 ramp

primary
#A940D0
secondary
#A8D597
accent
#E4446F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A940D0

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

Preview Lab → · Contrast checker → · Palette generator →

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