#A152BF#A152BF

#A152BF is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.9% C 0.176 H 315.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A152BF
RGBrgb(161, 82, 191)
HSLhsl(283, 46%, 54%)
HSVhsv(283, 57%, 75%)
CMYKcmyk(15.7%, 57.1%, 0%, 25.1%)
CIE-LABlab(48.73, 50.16, -43.93)
CIE-LCHlch(48.73, 66.68, 318.79°)
OKLaboklab(57.93% 0.1261 -0.1227)
OKLCHoklch(57.93% 0.176 315.8)
XYZxyz(27.1178, 17.3741, 51.2052)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152BF #70BF52
analogous
#6A52BF #A152BF #BF52A6
triadic
#A152BF #BFA152 #52BFA1
tetradic
#A152BF #BF6A52 #70BF52 #52A6BF
square
#A152BF #BF6A52 #70BF52 #52A6BF
split-complementary
#A152BF #A6BF52 #52BF6A
monochromatic
#5B296E #80399B #A152BF #B97FD0 #D2ABE0

Accessibility & contrast

On white

4.69
#A152BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A152BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152BF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152BF#FFFFFF#000000##FFFFFF
##A152BF1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#9F6481
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a152bf;
/* rgb */ color: rgb(161, 82, 191);
/* oklch */ color: oklch(57.9% 0.176 315.8);
Tailwind
colors: {
  custom: {
    50: '#bf86d3',
    500: '#a152bf',
    950: '#000000',
  },
}
SCSS
$custom: #a152bf;
$custom-light: #bf86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a152bf",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 283.486,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.17597,
    "h": 315.8
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#A152BF
secondary
#ACCE9F
accent
#D65276
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #A152BF

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

Preview Lab → · Contrast checker → · Palette generator →

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