#A140CD#A140CD

#A140CD is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.215 H 313.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A140CD
RGBrgb(161, 64, 205)
HSLhsl(281, 59%, 53%)
HSVhsv(281, 69%, 80%)
CMYKcmyk(21.5%, 68.8%, 0%, 19.6%)
CIE-LABlab(46.52, 61.43, -55.56)
CIE-LCHlch(46.52, 82.83, 317.88°)
OKLaboklab(56.59% 0.1471 -0.1567)
OKLCHoklch(56.59% 0.215 313.2)
XYZxyz(27.5489, 15.6525, 59.3158)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140CD #6CCD40
analogous
#5B40CD #A140CD #CD40B2
triadic
#A140CD #CDA140 #40CDA1
tetradic
#A140CD #CD5B40 #6CCD40 #40B2CD
square
#A140CD #CD5B40 #6CCD40 #40B2CD
split-complementary
#A140CD #B2CD40 #40CD5B
monochromatic
#591E74 #7F2BA5 #A140CD #B971DA #D1A1E6

Accessibility & contrast

On white

5.08
#A140CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A140CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140CD#FFFFFF#000000##FFFFFF
##A140CD1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#9C5D82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a140cd;
/* rgb */ color: rgb(161, 64, 205);
/* oklch */ color: oklch(56.6% 0.215 313.2);
Tailwind
colors: {
  custom: {
    50: '#c17cdd',
    500: '#a140cd',
    950: '#000000',
  },
}
SCSS
$custom: #a140cd;
$custom-light: #c17cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a140cd",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 281.277,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56592,
    "c": 0.21491,
    "h": 313.2
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#A140CD
secondary
#A9D396
accent
#E24677
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A140CD

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

Preview Lab → · Contrast checker → · Palette generator →

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