#A052B0#A052B0

#A052B0 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.0% C 0.160 H 320.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A052B0
RGBrgb(160, 82, 176)
HSLhsl(290, 37%, 51%)
HSVhsv(290, 53%, 69%)
CMYKcmyk(9.1%, 53.4%, 0%, 31%)
CIE-LABlab(47.81, 46.81, -36.66)
CIE-LCHlch(47.81, 59.46, 321.94°)
OKLaboklab(56.97% 0.1237 -0.1016)
OKLCHoklch(56.97% 0.16 320.6)
XYZxyz(25.3500, 16.6438, 42.9431)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052B0 #62B052
analogous
#7152B0 #A052B0 #B05291
triadic
#A052B0 #B0A052 #52B0A0
tetradic
#A052B0 #B07152 #62B052 #5291B0
square
#A052B0 #B07152 #62B052 #5291B0
split-complementary
#A052B0 #91B052 #52B071
monochromatic
#542B5D #7B3E87 #A052B0 #B77CC3 #CEA6D6

Accessibility & contrast

On white

4.85
#A052B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A052B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A052B0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052B0#FFFFFF#000000##FFFFFF
##A052B01.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416CB3
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#A15F79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a052b0;
/* rgb */ color: rgb(160, 82, 176);
/* oklch */ color: oklch(57.0% 0.160 320.6);
Tailwind
colors: {
  custom: {
    50: '#be86c8',
    500: '#a052b0',
    950: '#000000',
  },
}
SCSS
$custom: #a052b0;
$custom-light: #be86c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a052b0",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 289.787,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56967,
    "c": 0.16006,
    "h": 320.6
  },
  "luminance": 0.16643
}

Semantic roles & 50–950 ramp

primary
#A052B0
secondary
#A1C49A
accent
#CD5B6E
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A052B0

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

Preview Lab → · Contrast checker → · Palette generator →

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