#A152BB#A152BB

#A152BB is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.172 H 317.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A152BB
RGBrgb(161, 82, 187)
HSLhsl(285, 44%, 53%)
HSVhsv(285, 56%, 73%)
CMYKcmyk(13.9%, 56.1%, 0%, 26.7%)
CIE-LABlab(48.51, 49.33, -41.95)
CIE-LCHlch(48.51, 64.75, 319.62°)
OKLaboklab(57.7% 0.1258 -0.117)
OKLCHoklch(57.7% 0.172 317.1)
XYZxyz(26.6836, 17.2005, 48.9185)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152BB #6CBB52
analogous
#6D52BB #A152BB #BB52A0
triadic
#A152BB #BBA152 #52BBA1
tetradic
#A152BB #BB6D52 #6CBB52 #52A0BB
square
#A152BB #BB6D52 #6CBB52 #52A0BB
split-complementary
#A152BB #A0BB52 #52BB6D
monochromatic
#592969 #7F3B95 #A152BB #B97ECC #D1AADE

Accessibility & contrast

On white

4.73
#A152BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A152BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152BB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152BB#FFFFFF#000000##FFFFFF
##A152BB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#A0637F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a152bb;
/* rgb */ color: rgb(161, 82, 187);
/* oklch */ color: oklch(57.7% 0.172 317.1);
Tailwind
colors: {
  custom: {
    50: '#bf86d0',
    500: '#a152bb',
    950: '#000000',
  },
}
SCSS
$custom: #a152bb;
$custom-light: #bf86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a152bb",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 285.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57697,
    "c": 0.17182,
    "h": 317.1
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#A152BB
secondary
#A9CB9E
accent
#D35474
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A152BB

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

Preview Lab → · Contrast checker → · Palette generator →

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