#A140CB#A140CB

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

Color values

HEX#A140CB
RGBrgb(161, 64, 203)
HSLhsl(282, 57%, 52%)
HSVhsv(282, 68%, 80%)
CMYKcmyk(20.7%, 68.5%, 0%, 20.4%)
CIE-LABlab(46.39, 61.02, -54.61)
CIE-LCHlch(46.39, 81.89, 318.17°)
OKLaboklab(56.46% 0.1473 -0.1539)
OKLCHoklch(56.46% 0.213 313.7)
XYZxyz(27.3090, 15.5565, 58.0525)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140CB #6ACB40
analogous
#5C40CB #A140CB #CB40AF
triadic
#A140CB #CBA140 #40CBA1
tetradic
#A140CB #CB5C40 #6ACB40 #40AFCB
square
#A140CB #CB5C40 #6ACB40 #40AFCB
split-complementary
#A140CB #AFCB40 #40CB5C
monochromatic
#591F72 #7E2CA2 #A140CB #B970D8 #D0A0E5

Accessibility & contrast

On white

5.11
#A140CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A140CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140CB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140CB#FFFFFF#000000##FFFFFF
##A140CB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#3870C8
Tritanopia (blue-blind)
#9D5C81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a140cb;
/* rgb */ color: rgb(161, 64, 203);
/* oklch */ color: oklch(56.5% 0.213 313.7);
Tailwind
colors: {
  custom: {
    50: '#c17cdc',
    500: '#a140cb',
    950: '#000000',
  },
}
SCSS
$custom: #a140cb;
$custom-light: #c17cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a140cb",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 281.871,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.21302,
    "h": 313.7
  },
  "luminance": 0.15556
}

Semantic roles & 50–950 ramp

primary
#A140CB
secondary
#A7D295
accent
#E04776
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A140CB

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

Preview Lab → · Contrast checker → · Palette generator →

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