#A142D6#A142D6

#A142D6 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.4% C 0.221 H 310.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A142D6
RGBrgb(161, 66, 214)
HSLhsl(279, 64%, 55%)
HSVhsv(279, 69%, 84%)
CMYKcmyk(24.8%, 69.2%, 0%, 16.1%)
CIE-LABlab(47.40, 62.47, -59.29)
CIE-LCHlch(47.40, 86.13, 316.49°)
OKLaboklab(57.41% 0.1441 -0.1676)
OKLCHoklch(57.41% 0.221 310.7)
XYZxyz(28.7814, 16.3292, 65.2410)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142D6 #77D642
analogous
#5742D6 #A142D6 #D642C1
triadic
#A142D6 #D6A142 #42D6A1
tetradic
#A142D6 #D65742 #77D642 #42C1D6
square
#A142D6 #D65742 #77D642 #42C1D6
split-complementary
#A142D6 #C1D642 #42D657
monochromatic
#5D1C82 #8127B4 #A142D6 #BA74E1 #D3A7EC

Accessibility & contrast

On white

4.92
#A142D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A142D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142D6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142D6#FFFFFF#000000##FFFFFF
##A142D61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#2B72D3
Tritanopia (blue-blind)
#9A6287
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a142d6;
/* rgb */ color: rgb(161, 66, 214);
/* oklch */ color: oklch(57.4% 0.221 310.7);
Tailwind
colors: {
  custom: {
    50: '#c17ee3',
    500: '#a142d6',
    950: '#000000',
  },
}
SCSS
$custom: #a142d6;
$custom-light: #c17ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#a142d6",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 278.514,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57413,
    "c": 0.22108,
    "h": 310.7
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#A142D6
secondary
#B1D99B
accent
#E7407C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A142D6

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

Preview Lab → · Contrast checker → · Palette generator →

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