#A152BA#A152BA

#A152BA is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.6% C 0.171 H 317.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A152BA
RGBrgb(161, 82, 186)
HSLhsl(286, 43%, 53%)
HSVhsv(286, 56%, 73%)
CMYKcmyk(13.4%, 55.9%, 0%, 27.1%)
CIE-LABlab(48.46, 49.12, -41.46)
CIE-LCHlch(48.46, 64.28, 319.84°)
OKLaboklab(57.64% 0.1258 -0.1155)
OKLCHoklch(57.64% 0.171 317.4)
XYZxyz(26.5769, 17.1578, 48.3567)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152BA #6BBA52
analogous
#6D52BA #A152BA #BA529F
triadic
#A152BA #BAA152 #52BAA1
tetradic
#A152BA #BA6D52 #6BBA52 #529FBA
square
#A152BA #BA6D52 #6BBA52 #529FBA
split-complementary
#A152BA #9FBA52 #52BA6D
monochromatic
#592A68 #7E3B94 #A152BA #B97ECB #D1AADD

Accessibility & contrast

On white

4.74
#A152BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A152BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152BA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152BA#FFFFFF#000000##FFFFFF
##A152BA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#5576B7
Tritanopia (blue-blind)
#A0627E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a152ba;
/* rgb */ color: rgb(161, 82, 186);
/* oklch */ color: oklch(57.6% 0.171 317.4);
Tailwind
colors: {
  custom: {
    50: '#bf86cf',
    500: '#a152ba',
    950: '#000000',
  },
}
SCSS
$custom: #a152ba;
$custom-light: #bf86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a152ba",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 285.577,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57641,
    "c": 0.17079,
    "h": 317.4
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#A152BA
secondary
#A8CA9D
accent
#D35573
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A152BA

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

Preview Lab → · Contrast checker → · Palette generator →

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