#A140C2#A140C2

#A140C2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.205 H 316.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A140C2
RGBrgb(161, 64, 194)
HSLhsl(285, 52%, 51%)
HSVhsv(285, 67%, 76%)
CMYKcmyk(17%, 67%, 0%, 23.9%)
CIE-LABlab(45.83, 59.20, -50.30)
CIE-LCHlch(45.83, 77.68, 319.64°)
OKLaboklab(55.88% 0.1479 -0.1413)
OKLCHoklch(55.88% 0.205 316.3)
XYZxyz(26.2675, 15.1399, 52.5671)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140C2 #61C240
analogous
#6040C2 #A140C2 #C240A2
triadic
#A140C2 #C2A140 #40C2A1
tetradic
#A140C2 #C26040 #61C240 #40A2C2
square
#A140C2 #C26040 #61C240 #40A2C2
split-complementary
#A140C2 #A2C240 #40C260
monochromatic
#552167 #7B3095 #A140C2 #B86ED1 #CF9DE0

Accessibility & contrast

On white

5.21
#A140C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A140C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140C2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140C2#FFFFFF#000000##FFFFFF
##A140C21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#406FBF
Tritanopia (blue-blind)
#9F597C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a140c2;
/* rgb */ color: rgb(161, 64, 194);
/* oklch */ color: oklch(55.9% 0.205 316.3);
Tailwind
colors: {
  custom: {
    50: '#c07cd5',
    500: '#a140c2',
    950: '#000000',
  },
}
SCSS
$custom: #a140c2;
$custom-light: #c07cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a140c2",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 284.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55877,
    "c": 0.20452,
    "h": 316.3
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#A140C2
secondary
#A1CC92
accent
#DB4D71
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A140C2

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

Preview Lab → · Contrast checker → · Palette generator →

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