#A152B2#A152B2

#A152B2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.163 H 320.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A152B2
RGBrgb(161, 82, 178)
HSLhsl(289, 38%, 51%)
HSVhsv(289, 54%, 70%)
CMYKcmyk(9.6%, 53.9%, 0%, 30.2%)
CIE-LABlab(48.04, 47.49, -37.45)
CIE-LCHlch(48.04, 60.48, 321.74°)
OKLaboklab(57.2% 0.1251 -0.1039)
OKLCHoklch(57.2% 0.163 320.3)
XYZxyz(25.7501, 16.8271, 44.0024)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152B2 #63B252
analogous
#7152B2 #A152B2 #B25293
triadic
#A152B2 #B2A152 #52B2A1
tetradic
#A152B2 #B27152 #63B252 #5293B2
square
#A152B2 #B27152 #63B252 #5293B2
split-complementary
#A152B2 #93B252 #52B271
monochromatic
#562A5F #7C3D8A #A152B2 #B87CC5 #CFA7D8

Accessibility & contrast

On white

4.81
#A152B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A152B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152B2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152B2#FFFFFF#000000##FFFFFF
##A152B21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#A2607A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a152b2;
/* rgb */ color: rgb(161, 82, 178);
/* oklch */ color: oklch(57.2% 0.163 320.3);
Tailwind
colors: {
  custom: {
    50: '#bf86c9',
    500: '#a152b2',
    950: '#000000',
  },
}
SCSS
$custom: #a152b2;
$custom-light: #bf86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a152b2",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 289.375,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.1626,
    "h": 320.3
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#A152B2
secondary
#A2C59B
accent
#CE596E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A152B2

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

Preview Lab → · Contrast checker → · Palette generator →

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