#A052BD#A052BD

#A052BD is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.173 H 316.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A052BD
RGBrgb(160, 82, 189)
HSLhsl(284, 45%, 53%)
HSVhsv(284, 57%, 74%)
CMYKcmyk(15.3%, 56.6%, 0%, 25.9%)
CIE-LABlab(48.49, 49.48, -43.16)
CIE-LCHlch(48.49, 65.66, 318.91°)
OKLaboklab(57.69% 0.1247 -0.1205)
OKLCHoklch(57.69% 0.173 316)
XYZxyz(26.6984, 17.1832, 50.0445)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052BD #6FBD52
analogous
#6A52BD #A052BD #BD52A5
triadic
#A052BD #BDA052 #52BDA0
tetradic
#A052BD #BD6A52 #6FBD52 #52A5BD
square
#A052BD #BD6A52 #6FBD52 #52A5BD
split-complementary
#A052BD #A5BD52 #52BD6A
monochromatic
#5A296C #7E3A98 #A052BD #B87ECE #D1ABDF

Accessibility & contrast

On white

4.73
#A052BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A052BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A052BD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052BD#FFFFFF#000000##FFFFFF
##A052BD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EC0
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#9E6380
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a052bd;
/* rgb */ color: rgb(160, 82, 189);
/* oklch */ color: oklch(57.7% 0.173 316.0);
Tailwind
colors: {
  custom: {
    50: '#bf86d1',
    500: '#a052bd',
    950: '#000000',
  },
}
SCSS
$custom: #a052bd;
$custom-light: #bf86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a052bd",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 283.738,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.17345,
    "h": 316
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#A052BD
secondary
#ABCC9E
accent
#D45376
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A052BD

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

Preview Lab → · Contrast checker → · Palette generator →

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