#A940CD#A940CD

#A940CD is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.218 H 316.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A940CD
RGBrgb(169, 64, 205)
HSLhsl(285, 59%, 53%)
HSVhsv(285, 69%, 80%)
CMYKcmyk(17.6%, 68.8%, 0%, 19.6%)
CIE-LABlab(47.64, 63.13, -53.69)
CIE-LCHlch(47.64, 82.88, 319.62°)
OKLaboklab(57.63% 0.157 -0.1509)
OKLCHoklch(57.63% 0.218 316.1)
XYZxyz(29.2133, 16.5107, 59.3938)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940CD #64CD40
analogous
#6340CD #A940CD #CD40AA
triadic
#A940CD #CDA940 #40CDA9
tetradic
#A940CD #CD6340 #64CD40 #40AACD
square
#A940CD #CD6340 #64CD40 #40AACD
split-complementary
#A940CD #AACD40 #40CD63
monochromatic
#5E1E74 #862BA5 #A940CD #BF71DA #D5A1E6

Accessibility & contrast

On white

4.88
#A940CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A940CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940CD#FFFFFF#000000##FFFFFF
##A940CD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#A75C82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a940cd;
/* rgb */ color: rgb(169, 64, 205);
/* oklch */ color: oklch(57.6% 0.218 316.1);
Tailwind
colors: {
  custom: {
    50: '#c67ddd',
    500: '#a940cd',
    950: '#000000',
  },
}
SCSS
$custom: #a940cd;
$custom-light: #c67ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#a940cd",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 284.681,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.21781,
    "h": 316.1
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#A940CD
secondary
#A5D396
accent
#E2466E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A940CD

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

Preview Lab → · Contrast checker → · Palette generator →

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