#A142CA#A142CA

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

Color values

HEX#A142CA
RGBrgb(161, 66, 202)
HSLhsl(282, 56%, 53%)
HSVhsv(282, 67%, 79%)
CMYKcmyk(20.3%, 67.3%, 0%, 20.8%)
CIE-LABlab(46.63, 59.96, -53.64)
CIE-LCHlch(46.63, 80.46, 318.18°)
OKLaboklab(56.61% 0.1452 -0.1511)
OKLCHoklch(56.61% 0.21 313.9)
XYZxyz(27.3050, 15.7386, 57.4652)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142CA #6BCA42
analogous
#5D42CA #A142CA #CA42AF
triadic
#A142CA #CAA142 #42CAA1
tetradic
#A142CA #CA5D42 #6BCA42 #42AFCA
square
#A142CA #CA5D42 #6BCA42 #42AFCA
split-complementary
#A142CA #AFCA42 #42CA5D
monochromatic
#592072 #7E2DA2 #A142CA #B972D7 #D1A2E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A142CA#FFFFFF#000000##FFFFFF
##A142CA1.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)
#0069CE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#9D5D81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a142ca;
/* rgb */ color: rgb(161, 66, 202);
/* oklch */ color: oklch(56.6% 0.210 313.9);
Tailwind
colors: {
  custom: {
    50: '#c17ddb',
    500: '#a142ca',
    950: '#000000',
  },
}
SCSS
$custom: #a142ca;
$custom-light: #c17ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#a142ca",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 281.912,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.20955,
    "h": 313.9
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#A142CA
secondary
#A8D196
accent
#DF4876
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A142CA

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

Preview Lab → · Contrast checker → · Palette generator →

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