#A142D4#A142D4

#A142D4 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.3% C 0.219 H 311.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A142D4
RGBrgb(161, 66, 212)
HSLhsl(279, 63%, 55%)
HSVhsv(279, 69%, 83%)
CMYKcmyk(24.1%, 68.9%, 0%, 16.9%)
CIE-LABlab(47.27, 62.05, -58.36)
CIE-LCHlch(47.27, 85.18, 316.75°)
OKLaboklab(57.28% 0.1444 -0.1649)
OKLCHoklch(57.28% 0.219 311.2)
XYZxyz(28.5276, 16.2277, 63.9041)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142D4 #75D442
analogous
#5842D4 #A142D4 #D442BE
triadic
#A142D4 #D4A142 #42D4A1
tetradic
#A142D4 #D45842 #75D442 #42BED4
square
#A142D4 #D45842 #75D442 #42BED4
split-complementary
#A142D4 #BED442 #42D458
monochromatic
#5D1D7F #8128B1 #A142D4 #BA74DF #D3A6EB

Accessibility & contrast

On white

4.95
#A142D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A142D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142D4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142D4#FFFFFF#000000##FFFFFF
##A142D41.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#2E72D1
Tritanopia (blue-blind)
#9B6186
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a142d4;
/* rgb */ color: rgb(161, 66, 212);
/* oklch */ color: oklch(57.3% 0.219 311.2);
Tailwind
colors: {
  custom: {
    50: '#c17ee2',
    500: '#a142d4',
    950: '#000000',
  },
}
SCSS
$custom: #a142d4;
$custom-light: #c17ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#a142d4",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 279.041,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57277,
    "c": 0.21916,
    "h": 311.2
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#A142D4
secondary
#B0D89A
accent
#E6427B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A142D4

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

Preview Lab → · Contrast checker → · Palette generator →

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