#A940DD#A940DD

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

Color values

HEX#A940DD
RGBrgb(169, 64, 221)
HSLhsl(280, 70%, 56%)
HSVhsv(280, 71%, 87%)
CMYKcmyk(23.5%, 71%, 0%, 13.3%)
CIE-LABlab(48.66, 66.35, -61.20)
CIE-LCHlch(48.66, 90.26, 317.31°)
OKLaboklab(58.69% 0.1554 -0.173)
OKLCHoklch(58.69% 0.233 311.9)
XYZxyz(31.2443, 17.3231, 70.0904)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940DD #74DD40
analogous
#5A40DD #A940DD #DD40C3
triadic
#A940DD #DDA940 #40DDA9
tetradic
#A940DD #DD5A40 #74DD40 #40C3DD
square
#A940DD #DD5A40 #74DD40 #40C3DD
split-complementary
#A940DD #C3DD40 #40DD5A
monochromatic
#64198A #8A22BE #A940DD #C074E6 #D8A8EF

Accessibility & contrast

On white

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

On black

4.46
#A940DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A940DD#FFFFFF#000000##FFFFFF
##A940DD1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#A3628B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a940dd;
/* rgb */ color: rgb(169, 64, 221);
/* oklch */ color: oklch(58.7% 0.233 311.9);
Tailwind
colors: {
  custom: {
    50: '#c77ee8',
    500: '#a940dd',
    950: '#000000',
  },
}
SCSS
$custom: #a940dd;
$custom-light: #c77ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a940dd",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 280.127,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58686,
    "c": 0.23253,
    "h": 311.9
  },
  "luminance": 0.17322
}

Semantic roles & 50–950 ramp

primary
#A940DD
secondary
#B1DD9C
accent
#ED3B76
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A940DD

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

Preview Lab → · Contrast checker → · Palette generator →

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