#A152AF#A152AF

#A152AF is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.0% C 0.160 H 321.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A152AF
RGBrgb(161, 82, 175)
HSLhsl(291, 37%, 50%)
HSVhsv(291, 53%, 69%)
CMYKcmyk(8%, 53.1%, 0%, 31.4%)
CIE-LABlab(47.89, 46.89, -35.93)
CIE-LCHlch(47.89, 59.08, 322.54°)
OKLaboklab(57.04% 0.1248 -0.0995)
OKLCHoklch(57.04% 0.16 321.4)
XYZxyz(25.4522, 16.7079, 42.4334)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152AF #60AF52
analogous
#7252AF #A152AF #AF528E
triadic
#A152AF #AFA152 #52AFA1
tetradic
#A152AF #AF7252 #60AF52 #528EAF
square
#A152AF #AF7252 #60AF52 #528EAF
split-complementary
#A152AF #8EAF52 #52AF72
monochromatic
#552B5C #7B3E86 #A152AF #B87CC2 #CEA6D6

Accessibility & contrast

On white

4.84
#A152AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A152AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152AF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152AF#FFFFFF#000000##FFFFFF
##A152AF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#5B75AC
Tritanopia (blue-blind)
#A35F79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a152af;
/* rgb */ color: rgb(161, 82, 175);
/* oklch */ color: oklch(57.0% 0.160 321.4);
Tailwind
colors: {
  custom: {
    50: '#bf86c7',
    500: '#a152af',
    950: '#000000',
  },
}
SCSS
$custom: #a152af;
$custom-light: #bf86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a152af",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 290.968,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.15958,
    "h": 321.4
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#A152AF
secondary
#A0C39A
accent
#CD5B6C
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A152AF

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

Preview Lab → · Contrast checker → · Palette generator →

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