#A152BD#A152BD

#A152BD is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.8% C 0.174 H 316.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A152BD
RGBrgb(161, 82, 189)
HSLhsl(284, 45%, 53%)
HSVhsv(284, 57%, 74%)
CMYKcmyk(14.8%, 56.6%, 0%, 25.9%)
CIE-LABlab(48.62, 49.74, -42.94)
CIE-LCHlch(48.62, 65.72, 319.20°)
OKLaboklab(57.81% 0.126 -0.1199)
OKLCHoklch(57.81% 0.174 316.4)
XYZxyz(26.8992, 17.2867, 50.0540)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152BD #6EBD52
analogous
#6B52BD #A152BD #BD52A3
triadic
#A152BD #BDA152 #52BDA1
tetradic
#A152BD #BD6B52 #6EBD52 #52A3BD
square
#A152BD #BD6B52 #6EBD52 #52A3BD
split-complementary
#A152BD #A3BD52 #52BD6B
monochromatic
#5A296C #7F3A98 #A152BD #B97ECE #D1ABDF

Accessibility & contrast

On white

4.71
#A152BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A152BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152BD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152BD#FFFFFF#000000##FFFFFF
##A152BD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC0
Deuteranopia (green-blind)
#5376BA
Tritanopia (blue-blind)
#A06380
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a152bd;
/* rgb */ color: rgb(161, 82, 189);
/* oklch */ color: oklch(57.8% 0.174 316.4);
Tailwind
colors: {
  custom: {
    50: '#bf86d1',
    500: '#a152bd',
    950: '#000000',
  },
}
SCSS
$custom: #a152bd;
$custom-light: #bf86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a152bd",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 284.299,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.17389,
    "h": 316.4
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#A152BD
secondary
#AACC9E
accent
#D45375
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A152BD

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

Preview Lab → · Contrast checker → · Palette generator →

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