#A940CE#A940CE

#A940CE is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.7% C 0.219 H 315.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A940CE
RGBrgb(169, 64, 206)
HSLhsl(284, 59%, 53%)
HSVhsv(284, 69%, 81%)
CMYKcmyk(18%, 68.9%, 0%, 19.2%)
CIE-LABlab(47.70, 63.33, -54.17)
CIE-LCHlch(47.70, 83.34, 319.46°)
OKLaboklab(57.69% 0.1569 -0.1523)
OKLCHoklch(57.69% 0.219 315.9)
XYZxyz(29.3344, 16.5591, 60.0316)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A940CE #65CE40
analogous
#6240CE #A940CE #CE40AC
triadic
#A940CE #CEA940 #40CEA9
tetradic
#A940CE #CE6240 #65CE40 #40ACCE
square
#A940CE #CE6240 #65CE40 #40ACCE
split-complementary
#A940CE #ACCE40 #40CE62
monochromatic
#5F1E75 #862BA6 #A940CE #BF71DA #D5A1E7

Accessibility & contrast

On white

4.87
#A940CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A940CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A940CE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A940CE#FFFFFF#000000##FFFFFF
##A940CE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#A65C82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a940ce;
/* rgb */ color: rgb(169, 64, 206);
/* oklch */ color: oklch(57.7% 0.219 315.9);
Tailwind
colors: {
  custom: {
    50: '#c67dde',
    500: '#a940ce',
    950: '#000000',
  },
}
SCSS
$custom: #a940ce;
$custom-light: #c67dde;
$custom-dark: #000000;
JSON
{
  "hex": "#a940ce",
  "rgb": {
    "r": 169,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 284.366,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.21872,
    "h": 315.9
  },
  "luminance": 0.16558
}

Semantic roles & 50–950 ramp

primary
#A940CE
secondary
#A6D496
accent
#E2456E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A940CE

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

Preview Lab → · Contrast checker → · Palette generator →

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