#A940CC#A940CC

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

Color values

HEX#A940CC
RGBrgb(169, 64, 204)
HSLhsl(285, 58%, 53%)
HSVhsv(285, 69%, 80%)
CMYKcmyk(17.2%, 68.6%, 0%, 20%)
CIE-LABlab(47.58, 62.93, -53.22)
CIE-LCHlch(47.58, 82.42, 319.78°)
OKLaboklab(57.56% 0.1571 -0.1495)
OKLCHoklch(57.56% 0.217 316.4)
XYZxyz(29.0930, 16.4626, 58.7601)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940CC #63CC40
analogous
#6340CC #A940CC #CC40A9
triadic
#A940CC #CCA940 #40CCA9
tetradic
#A940CC #CC6340 #63CC40 #40A9CC
square
#A940CC #CC6340 #63CC40 #40A9CC
split-complementary
#A940CC #A9CC40 #40CC63
monochromatic
#5E1F73 #852CA3 #A940CC #BF70D9 #D4A1E6

Accessibility & contrast

On white

4.89
#A940CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A940CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940CC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940CC#FFFFFF#000000##FFFFFF
##A940CC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#A75B81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a940cc;
/* rgb */ color: rgb(169, 64, 204);
/* oklch */ color: oklch(57.6% 0.217 316.4);
Tailwind
colors: {
  custom: {
    50: '#c67ddc',
    500: '#a940cc',
    950: '#000000',
  },
}
SCSS
$custom: #a940cc;
$custom-light: #c67ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#a940cc",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 285,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.21689,
    "h": 316.4
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#A940CC
secondary
#A5D295
accent
#E1476D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A940CC

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

Preview Lab → · Contrast checker → · Palette generator →

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