#A052BC#A052BC

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

Color values

HEX#A052BC
RGBrgb(160, 82, 188)
HSLhsl(284, 44%, 53%)
HSVhsv(284, 56%, 74%)
CMYKcmyk(14.9%, 56.4%, 0%, 26.3%)
CIE-LABlab(48.44, 49.27, -42.66)
CIE-LCHlch(48.44, 65.17, 319.11°)
OKLaboklab(57.63% 0.1247 -0.1191)
OKLCHoklch(57.63% 0.172 316.3)
XYZxyz(26.5902, 17.1399, 49.4749)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052BC #6EBC52
analogous
#6B52BC #A052BC #BC52A3
triadic
#A052BC #BCA052 #52BCA0
tetradic
#A052BC #BC6B52 #6EBC52 #52A3BC
square
#A052BC #BC6B52 #6EBC52 #52A3BC
split-complementary
#A052BC #A3BC52 #52BC6B
monochromatic
#59296A #7E3A97 #A052BC #B87ECD #D0AADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A052BC#FFFFFF#000000##FFFFFF
##A052BC1.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)
#386EBF
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#9F637F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a052bc;
/* rgb */ color: rgb(160, 82, 188);
/* oklch */ color: oklch(57.6% 0.172 316.3);
Tailwind
colors: {
  custom: {
    50: '#bf86d0',
    500: '#a052bc',
    950: '#000000',
  },
}
SCSS
$custom: #a052bc;
$custom-light: #bf86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a052bc",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 284.151,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57632,
    "c": 0.1724,
    "h": 316.3
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#A052BC
secondary
#AACC9E
accent
#D45476
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A052BC

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

Preview Lab → · Contrast checker → · Palette generator →

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