#A140CC#A140CC

#A140CC is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.214 H 313.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A140CC
RGBrgb(161, 64, 204)
HSLhsl(282, 58%, 53%)
HSVhsv(282, 69%, 80%)
CMYKcmyk(21.1%, 68.6%, 0%, 20%)
CIE-LABlab(46.45, 61.23, -55.08)
CIE-LCHlch(46.45, 82.36, 318.02°)
OKLaboklab(56.53% 0.1472 -0.1553)
OKLCHoklch(56.53% 0.214 313.5)
XYZxyz(27.4285, 15.6043, 58.6821)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140CC #6BCC40
analogous
#5B40CC #A140CC #CC40B1
triadic
#A140CC #CCA140 #40CCA1
tetradic
#A140CC #CC5B40 #6BCC40 #40B1CC
square
#A140CC #CC5B40 #6BCC40 #40B1CC
split-complementary
#A140CC #B1CC40 #40CC5B
monochromatic
#591F73 #7E2CA3 #A140CC #B970D9 #D1A1E6

Accessibility & contrast

On white

5.10
#A140CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A140CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140CC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140CC#FFFFFF#000000##FFFFFF
##A140CC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#9D5D81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a140cc;
/* rgb */ color: rgb(161, 64, 204);
/* oklch */ color: oklch(56.5% 0.214 313.5);
Tailwind
colors: {
  custom: {
    50: '#c17cdc',
    500: '#a140cc',
    950: '#000000',
  },
}
SCSS
$custom: #a140cc;
$custom-light: #c17cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a140cc",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 281.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56526,
    "c": 0.21397,
    "h": 313.5
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#A140CC
secondary
#A8D295
accent
#E14776
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A140CC

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

Preview Lab → · Contrast checker → · Palette generator →

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