#A940DA#A940DA

#A940DA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.230 H 312.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A940DA
RGBrgb(169, 64, 218)
HSLhsl(281, 68%, 55%)
HSVhsv(281, 71%, 85%)
CMYKcmyk(22.5%, 70.6%, 0%, 14.5%)
CIE-LABlab(48.47, 65.74, -59.81)
CIE-LCHlch(48.47, 88.87, 317.70°)
OKLaboklab(58.48% 0.1558 -0.1689)
OKLCHoklch(58.48% 0.23 312.7)
XYZxyz(30.8482, 17.1647, 68.0042)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940DA #71DA40
analogous
#5C40DA #A940DA #DA40BE
triadic
#A940DA #DAA940 #40DAA9
tetradic
#A940DA #DA5C40 #71DA40 #40BEDA
square
#A940DA #DA5C40 #71DA40 #40BEDA
split-complementary
#A940DA #BEDA40 #40DA5C
monochromatic
#631A86 #8A24B9 #A940DA #C073E4 #D7A7EE

Accessibility & contrast

On white

4.74
#A940DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A940DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940DA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940DA#FFFFFF#000000##FFFFFF
##A940DA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#3075D7
Tritanopia (blue-blind)
#A46189
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a940da;
/* rgb */ color: rgb(169, 64, 218);
/* oklch */ color: oklch(58.5% 0.230 312.7);
Tailwind
colors: {
  custom: {
    50: '#c77ee6',
    500: '#a940da',
    950: '#000000',
  },
}
SCSS
$custom: #a940da;
$custom-light: #c77ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#a940da",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 280.909,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.22976,
    "h": 312.7
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#A940DA
secondary
#AFDB9B
accent
#EA3D74
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A940DA

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

Preview Lab → · Contrast checker → · Palette generator →

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