#A152A2#A152A2

#A152A2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.4% C 0.147 H 326.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A152A2
RGBrgb(161, 82, 162)
HSLhsl(299, 33%, 48%)
HSVhsv(299, 49%, 64%)
CMYKcmyk(0.6%, 49.4%, 0%, 36.5%)
CIE-LABlab(47.26, 44.37, -29.26)
CIE-LCHlch(47.26, 53.15, 326.60°)
OKLaboklab(56.37% 0.1229 -0.0803)
OKLCHoklch(56.37% 0.147 326.8)
XYZxyz(24.2364, 16.2216, 36.0299)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152A2 #53A252
analogous
#7952A2 #A152A2 #A2527B
triadic
#A152A2 #A2A152 #52A2A1
tetradic
#A152A2 #A27952 #53A252 #527BA2
square
#A152A2 #A27952 #53A252 #527BA2
split-complementary
#A152A2 #7BA252 #52A279
monochromatic
#502951 #793D79 #A152A2 #B977BA #CEA0CF

Accessibility & contrast

On white

4.95
#A152A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A152A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152A2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152A2#FFFFFF#000000##FFFFFF
##A152A21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA5
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#A55B72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a152a2;
/* rgb */ color: rgb(161, 82, 162);
/* oklch */ color: oklch(56.4% 0.147 326.8);
Tailwind
colors: {
  custom: {
    50: '#bf86be',
    500: '#a152a2',
    950: '#000000',
  },
}
SCSS
$custom: #a152a2;
$custom-light: #bf86be;
$custom-dark: #000000;
JSON
{
  "hex": "#a152a2",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 299.25,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56372,
    "c": 0.14682,
    "h": 326.8
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#A152A2
secondary
#94BC94
accent
#C95F60
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A152A2

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

Preview Lab → · Contrast checker → · Palette generator →

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