#A142CF#A142CF

#A142CF is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.214 H 312.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A142CF
RGBrgb(161, 66, 207)
HSLhsl(280, 59%, 54%)
HSVhsv(280, 68%, 81%)
CMYKcmyk(22.2%, 68.1%, 0%, 18.8%)
CIE-LABlab(46.95, 61.00, -56.01)
CIE-LCHlch(46.95, 82.81, 317.44°)
OKLaboklab(56.94% 0.1448 -0.158)
OKLCHoklch(56.94% 0.214 312.5)
XYZxyz(27.9066, 15.9793, 60.6336)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142CF #70CF42
analogous
#5A42CF #A142CF #CF42B6
triadic
#A142CF #CFA142 #42CFA1
tetradic
#A142CF #CF5A42 #70CF42 #42B6CF
square
#A142CF #CF5A42 #70CF42 #42B6CF
split-complementary
#A142CF #B6CF42 #42CF5A
monochromatic
#5B1F78 #802BA9 #A142CF #B973DB #D2A4E8

Accessibility & contrast

On white

5.01
#A142CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A142CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142CF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142CF#FFFFFF#000000##FFFFFF
##A142CF1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#9C5F84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a142cf;
/* rgb */ color: rgb(161, 66, 207);
/* oklch */ color: oklch(56.9% 0.214 312.5);
Tailwind
colors: {
  custom: {
    50: '#c17ede',
    500: '#a142cf',
    950: '#000000',
  },
}
SCSS
$custom: #a142cf;
$custom-light: #c17ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a142cf",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 280.426,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.21434,
    "h": 312.5
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#A142CF
secondary
#ACD598
accent
#E34579
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A142CF

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

Preview Lab → · Contrast checker → · Palette generator →

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