#A152BC#A152BC

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

Color values

HEX#A152BC
RGBrgb(161, 82, 188)
HSLhsl(285, 44%, 53%)
HSVhsv(285, 56%, 74%)
CMYKcmyk(14.4%, 56.4%, 0%, 26.3%)
CIE-LABlab(48.57, 49.54, -42.45)
CIE-LCHlch(48.57, 65.23, 319.41°)
OKLaboklab(57.75% 0.1259 -0.1184)
OKLCHoklch(57.75% 0.173 316.8)
XYZxyz(26.7910, 17.2434, 49.4843)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152BC #6DBC52
analogous
#6C52BC #A152BC #BC52A2
triadic
#A152BC #BCA152 #52BCA1
tetradic
#A152BC #BC6C52 #6DBC52 #52A2BC
square
#A152BC #BC6C52 #6DBC52 #52A2BC
split-complementary
#A152BC #A2BC52 #52BC6C
monochromatic
#5A296A #7F3A97 #A152BC #B97ECD #D1AADE

Accessibility & contrast

On white

4.72
#A152BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A152BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152BC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152BC#FFFFFF#000000##FFFFFF
##A152BC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#5476B9
Tritanopia (blue-blind)
#A0637F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a152bc;
/* rgb */ color: rgb(161, 82, 188);
/* oklch */ color: oklch(57.8% 0.173 316.8);
Tailwind
colors: {
  custom: {
    50: '#bf86d0',
    500: '#a152bc',
    950: '#000000',
  },
}
SCSS
$custom: #a152bc;
$custom-light: #bf86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a152bc",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 284.717,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.17285,
    "h": 316.8
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A152BC

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

Preview Lab → · Contrast checker → · Palette generator →

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