#A151AE#A151AE

#A151AE is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.8% C 0.160 H 321.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A151AE
RGBrgb(161, 81, 174)
HSLhsl(292, 36%, 50%)
HSVhsv(292, 53%, 68%)
CMYKcmyk(7.5%, 53.4%, 0%, 31.8%)
CIE-LABlab(47.65, 47.20, -35.73)
CIE-LCHlch(47.65, 59.20, 322.88°)
OKLaboklab(56.84% 0.126 -0.0989)
OKLCHoklch(56.84% 0.16 321.9)
XYZxyz(25.2795, 16.5191, 41.8931)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151AE #5EAE51
analogous
#7351AE #A151AE #AE518C
triadic
#A151AE #AEA151 #51AEA1
tetradic
#A151AE #AE7351 #5EAE51 #518CAE
square
#A151AE #AE7351 #5EAE51 #518CAE
split-complementary
#A151AE #8CAE51 #51AE73
monochromatic
#542A5A #7A3E84 #A151AE #B87BC1 #CEA5D5

Accessibility & contrast

On white

4.88
#A151AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A151AE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151AE#FFFFFF#000000##FFFFFF
##A151AE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#A35E78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a151ae;
/* rgb */ color: rgb(161, 81, 174);
/* oklch */ color: oklch(56.8% 0.160 321.9);
Tailwind
colors: {
  custom: {
    50: '#bf85c6',
    500: '#a151ae',
    950: '#000000',
  },
}
SCSS
$custom: #a151ae;
$custom-light: #bf85c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a151ae",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 291.613,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.16021,
    "h": 321.9
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#A151AE
secondary
#9EC299
accent
#CC5B6B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A151AE

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

Preview Lab → · Contrast checker → · Palette generator →

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