#A142D9#A142D9

#A142D9 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.224 H 309.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A142D9
RGBrgb(161, 66, 217)
HSLhsl(278, 67%, 55%)
HSVhsv(278, 70%, 85%)
CMYKcmyk(25.8%, 69.6%, 0%, 14.9%)
CIE-LABlab(47.60, 63.11, -60.69)
CIE-LCHlch(47.60, 87.55, 316.12°)
OKLaboklab(57.62% 0.1438 -0.1717)
OKLCHoklch(57.62% 0.224 309.9)
XYZxyz(29.1681, 16.4839, 67.2773)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142D9 #7AD942
analogous
#5542D9 #A142D9 #D942C6
triadic
#A142D9 #D9A142 #42D9A1
tetradic
#A142D9 #D95542 #7AD942 #42C6D9
square
#A142D9 #D95542 #7AD942 #42C6D9
split-complementary
#A142D9 #C6D942 #42D955
monochromatic
#5E1B86 #8225B9 #A142D9 #BA75E3 #D4A8ED

Accessibility & contrast

On white

4.89
#A142D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A142D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142D9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142D9#FFFFFF#000000##FFFFFF
##A142D91.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#2672D6
Tritanopia (blue-blind)
#996389
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a142d9;
/* rgb */ color: rgb(161, 66, 217);
/* oklch */ color: oklch(57.6% 0.224 309.9);
Tailwind
colors: {
  custom: {
    50: '#c17ee6',
    500: '#a142d9',
    950: '#000000',
  },
}
SCSS
$custom: #a142d9;
$custom-light: #c17ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#a142d9",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 277.748,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.22397,
    "h": 309.9
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#A142D9
secondary
#B3DB9C
accent
#E93E7E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A142D9

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

Preview Lab → · Contrast checker → · Palette generator →

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