#A142CB#A142CB

#A142CB is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.211 H 313.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A142CB
RGBrgb(161, 66, 203)
HSLhsl(282, 57%, 53%)
HSVhsv(282, 67%, 80%)
CMYKcmyk(20.7%, 67.5%, 0%, 20.4%)
CIE-LABlab(46.69, 60.17, -54.12)
CIE-LCHlch(46.69, 80.93, 318.03°)
OKLaboklab(56.68% 0.1452 -0.1525)
OKLCHoklch(56.68% 0.211 313.6)
XYZxyz(27.4238, 15.7861, 58.0908)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142CB #6CCB42
analogous
#5D42CB #A142CB #CB42B0
triadic
#A142CB #CBA142 #42CBA1
tetradic
#A142CB #CB5D42 #6CCB42 #42B0CB
square
#A142CB #CB5D42 #6CCB42 #42B0CB
split-complementary
#A142CB #B0CB42 #42CB5D
monochromatic
#592073 #7F2DA3 #A142CB #B972D8 #D1A2E5

Accessibility & contrast

On white

5.05
#A142CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A142CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142CB#FFFFFF#000000##FFFFFF
##A142CB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#9D5E81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a142cb;
/* rgb */ color: rgb(161, 66, 203);
/* oklch */ color: oklch(56.7% 0.211 313.6);
Tailwind
colors: {
  custom: {
    50: '#c17ddb',
    500: '#a142cb',
    950: '#000000',
  },
}
SCSS
$custom: #a142cb;
$custom-light: #c17ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#a142cb",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 281.606,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.21051,
    "h": 313.6
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#A142CB
secondary
#A9D297
accent
#E04876
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A142CB

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

Preview Lab → · Contrast checker → · Palette generator →

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