#A142D1#A142D1

#A142D1 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.216 H 312.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A142D1
RGBrgb(161, 66, 209)
HSLhsl(280, 61%, 54%)
HSVhsv(280, 68%, 82%)
CMYKcmyk(23%, 68.4%, 0%, 18%)
CIE-LABlab(47.08, 61.42, -56.96)
CIE-LCHlch(47.08, 83.76, 317.16°)
OKLaboklab(57.08% 0.1447 -0.1608)
OKLCHoklch(57.08% 0.216 312)
XYZxyz(28.1527, 16.0777, 61.9295)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142D1 #72D142
analogous
#5A42D1 #A142D1 #D142BA
triadic
#A142D1 #D1A142 #42D1A1
tetradic
#A142D1 #D15A42 #72D142 #42BAD1
square
#A142D1 #D15A42 #72D142 #42BAD1
split-complementary
#A142D1 #BAD142 #42D15A
monochromatic
#5C1E7B #802AAC #A142D1 #B973DD #D2A4E9

Accessibility & contrast

On white

4.98
#A142D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A142D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142D1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142D1#FFFFFF#000000##FFFFFF
##A142D11.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#3271CE
Tritanopia (blue-blind)
#9B6085
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a142d1;
/* rgb */ color: rgb(161, 66, 209);
/* oklch */ color: oklch(57.1% 0.216 312.0);
Tailwind
colors: {
  custom: {
    50: '#c17ee0',
    500: '#a142d1',
    950: '#000000',
  },
}
SCSS
$custom: #a142d1;
$custom-light: #c17ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#a142d1",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 279.86,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.21627,
    "h": 312
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#A142D1
secondary
#ADD699
accent
#E4447A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A142D1

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

Preview Lab → · Contrast checker → · Palette generator →

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