#A052BA#A052BA

#A052BA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.5% C 0.170 H 317.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A052BA
RGBrgb(160, 82, 186)
HSLhsl(285, 43%, 53%)
HSVhsv(285, 56%, 73%)
CMYKcmyk(14%, 55.9%, 0%, 27.1%)
CIE-LABlab(48.33, 48.85, -41.67)
CIE-LCHlch(48.33, 64.21, 319.54°)
OKLaboklab(57.52% 0.1245 -0.1162)
OKLCHoklch(57.52% 0.17 317)
XYZxyz(26.3761, 17.0543, 48.3473)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052BA #6CBA52
analogous
#6C52BA #A052BA #BA52A0
triadic
#A052BA #BAA052 #52BAA0
tetradic
#A052BA #BA6C52 #6CBA52 #52A0BA
square
#A052BA #BA6C52 #6CBA52 #52A0BA
split-complementary
#A052BA #A0BA52 #52BA6C
monochromatic
#582A68 #7E3B94 #A052BA #B87ECB #D0AADD

Accessibility & contrast

On white

4.76
#A052BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A052BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A052BA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052BA#FFFFFF#000000##FFFFFF
##A052BA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#9F627E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a052ba;
/* rgb */ color: rgb(160, 82, 186);
/* oklch */ color: oklch(57.5% 0.170 317.0);
Tailwind
colors: {
  custom: {
    50: '#bf86cf',
    500: '#a052ba',
    950: '#000000',
  },
}
SCSS
$custom: #a052ba;
$custom-light: #bf86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a052ba",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 285,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.17032,
    "h": 317
  },
  "luminance": 0.17053
}

Semantic roles & 50–950 ramp

primary
#A052BA
secondary
#A9CA9D
accent
#D35574
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A052BA

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

Preview Lab → · Contrast checker → · Palette generator →

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