#A140CF#A140CF

#A140CF is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.217 H 312.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A140CF
RGBrgb(161, 64, 207)
HSLhsl(281, 60%, 53%)
HSVhsv(281, 69%, 81%)
CMYKcmyk(22.2%, 69.1%, 0%, 18.8%)
CIE-LABlab(46.64, 61.85, -56.50)
CIE-LCHlch(46.64, 83.77, 317.59°)
OKLaboklab(56.73% 0.1469 -0.1594)
OKLCHoklch(56.73% 0.217 312.7)
XYZxyz(27.7918, 15.7496, 60.5954)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140CF #6ECF40
analogous
#5940CF #A140CF #CF40B6
triadic
#A140CF #CFA140 #40CFA1
tetradic
#A140CF #CF5940 #6ECF40 #40B6CF
square
#A140CF #CF5940 #6ECF40 #40B6CF
split-complementary
#A140CF #B6CF40 #40CF59
monochromatic
#5A1E77 #7F2AA8 #A140CF #B971DB #D1A2E8

Accessibility & contrast

On white

5.06
#A140CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A140CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140CF#FFFFFF#000000##FFFFFF
##A140CF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#9C5E83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a140cf;
/* rgb */ color: rgb(161, 64, 207);
/* oklch */ color: oklch(56.7% 0.217 312.7);
Tailwind
colors: {
  custom: {
    50: '#c17dde',
    500: '#a140cf',
    950: '#000000',
  },
}
SCSS
$custom: #a140cf;
$custom-light: #c17dde;
$custom-dark: #000000;
JSON
{
  "hex": "#a140cf",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 280.699,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.21681,
    "h": 312.7
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#A140CF
secondary
#AAD497
accent
#E34578
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A140CF

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

Preview Lab → · Contrast checker → · Palette generator →

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