#A140C7#A140C7

#A140C7 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.2% C 0.209 H 314.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A140C7
RGBrgb(161, 64, 199)
HSLhsl(283, 55%, 52%)
HSVhsv(283, 68%, 78%)
CMYKcmyk(19.1%, 67.8%, 0%, 22%)
CIE-LABlab(46.13, 60.21, -52.71)
CIE-LCHlch(46.13, 80.02, 318.80°)
OKLaboklab(56.2% 0.1476 -0.1483)
OKLCHoklch(56.2% 0.209 314.9)
XYZxyz(26.8385, 15.3683, 55.5744)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140C7 #66C740
analogous
#5E40C7 #A140C7 #C740AA
triadic
#A140C7 #C7A140 #40C7A1
tetradic
#A140C7 #C75E40 #66C740 #40AAC7
square
#A140C7 #C75E40 #66C740 #40AAC7
split-complementary
#A140C7 #AAC740 #40C75E
monochromatic
#57206D #7D2E9C #A140C7 #B86FD5 #D09FE3

Accessibility & contrast

On white

5.16
#A140C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A140C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140C7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140C7#FFFFFF#000000##FFFFFF
##A140C71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#3C70C4
Tritanopia (blue-blind)
#9E5B7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a140c7;
/* rgb */ color: rgb(161, 64, 199);
/* oklch */ color: oklch(56.2% 0.209 314.9);
Tailwind
colors: {
  custom: {
    50: '#c17cd9',
    500: '#a140c7',
    950: '#000000',
  },
}
SCSS
$custom: #a140c7;
$custom-light: #c17cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a140c7",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 283.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.20923,
    "h": 314.9
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#A140C7
secondary
#A4CF94
accent
#DE4A74
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A140C7

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

Preview Lab → · Contrast checker → · Palette generator →

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