#A142D7#A142D7

#A142D7 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.5% C 0.222 H 310.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A142D7
RGBrgb(161, 66, 215)
HSLhsl(278, 65%, 55%)
HSVhsv(278, 69%, 84%)
CMYKcmyk(25.1%, 69.3%, 0%, 15.7%)
CIE-LABlab(47.47, 62.68, -59.76)
CIE-LCHlch(47.47, 86.60, 316.37°)
OKLaboklab(57.48% 0.144 -0.169)
OKLCHoklch(57.48% 0.222 310.4)
XYZxyz(28.9095, 16.3804, 65.9156)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142D7 #78D742
analogous
#5642D7 #A142D7 #D742C3
triadic
#A142D7 #D7A142 #42D7A1
tetradic
#A142D7 #D75642 #78D742 #42C3D7
square
#A142D7 #D75642 #78D742 #42C3D7
split-complementary
#A142D7 #C3D742 #42D756
monochromatic
#5D1C83 #8226B5 #A142D7 #BA75E2 #D3A7EC

Accessibility & contrast

On white

4.91
#A142D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A142D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142D7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142D7#FFFFFF#000000##FFFFFF
##A142D71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#2A72D4
Tritanopia (blue-blind)
#9A6288
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a142d7;
/* rgb */ color: rgb(161, 66, 215);
/* oklch */ color: oklch(57.5% 0.222 310.4);
Tailwind
colors: {
  custom: {
    50: '#c17ee4',
    500: '#a142d7',
    950: '#000000',
  },
}
SCSS
$custom: #a142d7;
$custom-light: #c17ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#a142d7",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 278.255,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.22205,
    "h": 310.4
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#A142D7
secondary
#B2DA9B
accent
#E8407D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A142D7

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

Preview Lab → · Contrast checker → · Palette generator →

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