#A140C8#A140C8

#A140C8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.210 H 314.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A140C8
RGBrgb(161, 64, 200)
HSLhsl(283, 55%, 52%)
HSVhsv(283, 68%, 78%)
CMYKcmyk(19.5%, 68%, 0%, 21.6%)
CIE-LABlab(46.20, 60.41, -53.18)
CIE-LCHlch(46.20, 80.48, 318.64°)
OKLaboklab(56.26% 0.1475 -0.1497)
OKLCHoklch(56.26% 0.21 314.6)
XYZxyz(26.9549, 15.4149, 56.1879)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140C8 #67C840
analogous
#5D40C8 #A140C8 #C840AB
triadic
#A140C8 #C8A140 #40C8A1
tetradic
#A140C8 #C85D40 #67C840 #40ABC8
square
#A140C8 #C85D40 #67C840 #40ABC8
split-complementary
#A140C8 #ABC840 #40C85D
monochromatic
#57206E #7D2D9D #A140C8 #B870D6 #D09FE3

Accessibility & contrast

On white

5.14
#A140C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A140C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140C8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140C8#FFFFFF#000000##FFFFFF
##A140C81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a140c8;
/* rgb */ color: rgb(161, 64, 200);
/* oklch */ color: oklch(56.3% 0.210 314.6);
Tailwind
colors: {
  custom: {
    50: '#c17cd9',
    500: '#a140c8',
    950: '#000000',
  },
}
SCSS
$custom: #a140c8;
$custom-light: #c17cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a140c8",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 282.794,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56263,
    "c": 0.21018,
    "h": 314.6
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#A140C8
secondary
#A5D094
accent
#DF4974
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A140C8

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

Preview Lab → · Contrast checker → · Palette generator →

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