#A142BE#A142BE

#A142BE is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.198 H 317.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A142BE
RGBrgb(161, 66, 190)
HSLhsl(286, 49%, 50%)
HSVhsv(286, 65%, 75%)
CMYKcmyk(15.3%, 65.3%, 0%, 25.5%)
CIE-LABlab(45.90, 57.53, -47.86)
CIE-LCHlch(45.90, 74.83, 320.24°)
OKLaboklab(55.85% 0.1458 -0.1341)
OKLCHoklch(55.85% 0.198 317.4)
XYZxyz(25.9391, 15.1923, 50.2713)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142BE #5FBE42
analogous
#6342BE #A142BE #BE429D
triadic
#A142BE #BEA142 #42BEA1
tetradic
#A142BE #BE6342 #5FBE42 #429DBE
square
#A142BE #BE6342 #5FBE42 #429DBE
split-complementary
#A142BE #9DBE42 #42BE63
monochromatic
#542263 #7B3291 #A142BE #B870CE #CE9DDD

Accessibility & contrast

On white

5.20
#A142BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A142BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142BE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142BE#FFFFFF#000000##FFFFFF
##A142BE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C2
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#A0597A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a142be;
/* rgb */ color: rgb(161, 66, 190);
/* oklch */ color: oklch(55.9% 0.198 317.4);
Tailwind
colors: {
  custom: {
    50: '#c07dd2',
    500: '#a142be',
    950: '#000000',
  },
}
SCSS
$custom: #a142be;
$custom-light: #c07dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a142be",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 285.968,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.19811,
    "h": 317.4
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#A142BE
secondary
#9FCA92
accent
#D84F6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A142BE

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

Preview Lab → · Contrast checker → · Palette generator →

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