#A152B4#A152B4

#A152B4 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.165 H 319.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A152B4
RGBrgb(161, 82, 180)
HSLhsl(288, 40%, 51%)
HSVhsv(288, 54%, 71%)
CMYKcmyk(10.6%, 54.4%, 0%, 29.4%)
CIE-LABlab(48.14, 47.89, -38.46)
CIE-LCHlch(48.14, 61.42, 321.24°)
OKLaboklab(57.31% 0.1253 -0.1068)
OKLCHoklch(57.31% 0.165 319.5)
XYZxyz(25.9524, 16.9080, 45.0677)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152B4 #65B452
analogous
#7052B4 #A152B4 #B45296
triadic
#A152B4 #B4A152 #52B4A1
tetradic
#A152B4 #B47052 #65B452 #5296B4
square
#A152B4 #B47052 #65B452 #5296B4
split-complementary
#A152B4 #96B452 #52B470
monochromatic
#572A61 #7D3D8C #A152B4 #B87DC7 #CFA7D9

Accessibility & contrast

On white

4.79
#A152B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A152B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152B4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152B4#FFFFFF#000000##FFFFFF
##A152B41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB7
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#A2607B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a152b4;
/* rgb */ color: rgb(161, 82, 180);
/* oklch */ color: oklch(57.3% 0.165 319.5);
Tailwind
colors: {
  custom: {
    50: '#bf86cb',
    500: '#a152b4',
    950: '#000000',
  },
}
SCSS
$custom: #a152b4;
$custom-light: #bf86cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a152b4",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 288.367,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57308,
    "c": 0.16464,
    "h": 319.5
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

primary
#A152B4
secondary
#A4C79B
accent
#CF586F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A152B4

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

Preview Lab → · Contrast checker → · Palette generator →

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