#A152AE#A152AE

#A152AE is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.0% C 0.159 H 321.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A152AE
RGBrgb(161, 82, 174)
HSLhsl(292, 36%, 50%)
HSVhsv(292, 53%, 68%)
CMYKcmyk(7.5%, 52.9%, 0%, 31.8%)
CIE-LABlab(47.84, 46.69, -35.42)
CIE-LCHlch(47.84, 58.61, 322.81°)
OKLaboklab(56.99% 0.1246 -0.098)
OKLCHoklch(56.99% 0.159 321.8)
XYZxyz(25.3544, 16.6688, 41.9181)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152AE #5FAE52
analogous
#7352AE #A152AE #AE528D
triadic
#A152AE #AEA152 #52AEA1
tetradic
#A152AE #AE7352 #5FAE52 #528DAE
square
#A152AE #AE7352 #5FAE52 #528DAE
split-complementary
#A152AE #8DAE52 #52AE73
monochromatic
#542B5B #7B3E85 #A152AE #B87CC2 #CEA5D5

Accessibility & contrast

On white

4.85
#A152AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A152AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152AE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152AE#FFFFFF#000000##FFFFFF
##A152AE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB1
Deuteranopia (green-blind)
#5C75AB
Tritanopia (blue-blind)
#A35E78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a152ae;
/* rgb */ color: rgb(161, 82, 174);
/* oklch */ color: oklch(57.0% 0.159 321.8);
Tailwind
colors: {
  custom: {
    50: '#bf86c6',
    500: '#a152ae',
    950: '#000000',
  },
}
SCSS
$custom: #a152ae;
$custom-light: #bf86c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a152ae",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 291.522,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.15858,
    "h": 321.8
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#A152AE
secondary
#9FC299
accent
#CC5C6B
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A152AE

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

Preview Lab → · Contrast checker → · Palette generator →

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