#A152B1#A152B1

#A152B1 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.1% C 0.162 H 320.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A152B1
RGBrgb(161, 82, 177)
HSLhsl(290, 38%, 51%)
HSVhsv(290, 54%, 69%)
CMYKcmyk(9%, 53.7%, 0%, 30.6%)
CIE-LABlab(47.99, 47.29, -36.95)
CIE-LCHlch(47.99, 60.01, 322.00°)
OKLaboklab(57.15% 0.125 -0.1024)
OKLCHoklch(57.15% 0.162 320.7)
XYZxyz(25.6501, 16.7871, 43.4756)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152B1 #62B152
analogous
#7152B1 #A152B1 #B15291
triadic
#A152B1 #B1A152 #52B1A1
tetradic
#A152B1 #B17152 #62B152 #5291B1
square
#A152B1 #B17152 #62B152 #5291B1
split-complementary
#A152B1 #91B152 #52B171
monochromatic
#552A5E #7C3D88 #A152B1 #B87CC4 #CFA6D7

Accessibility & contrast

On white

4.82
#A152B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A152B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152B1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152B1#FFFFFF#000000##FFFFFF
##A152B11.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416CB4
Deuteranopia (green-blind)
#5A75AE
Tritanopia (blue-blind)
#A25F7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a152b1;
/* rgb */ color: rgb(161, 82, 177);
/* oklch */ color: oklch(57.1% 0.162 320.7);
Tailwind
colors: {
  custom: {
    50: '#bf86c9',
    500: '#a152b1',
    950: '#000000',
  },
}
SCSS
$custom: #a152b1;
$custom-light: #bf86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a152b1",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 289.895,
    "s": 37.849,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.1616,
    "h": 320.7
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#A152B1
secondary
#A1C49A
accent
#CE5A6E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A152B1

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

Preview Lab → · Contrast checker → · Palette generator →

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