#A052BB#A052BB

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

Color values

HEX#A052BB
RGBrgb(160, 82, 187)
HSLhsl(285, 44%, 53%)
HSVhsv(285, 56%, 73%)
CMYKcmyk(14.4%, 56.1%, 0%, 26.7%)
CIE-LABlab(48.38, 49.06, -42.17)
CIE-LCHlch(48.38, 64.69, 319.32°)
OKLaboklab(57.58% 0.1246 -0.1176)
OKLCHoklch(57.58% 0.171 316.6)
XYZxyz(26.4828, 17.0969, 48.9091)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052BB #6DBB52
analogous
#6B52BB #A052BB #BB52A2
triadic
#A052BB #BBA052 #52BBA0
tetradic
#A052BB #BB6B52 #6DBB52 #52A2BB
square
#A052BB #BB6B52 #6DBB52 #52A2BB
split-complementary
#A052BB #A2BB52 #52BB6B
monochromatic
#592969 #7E3B95 #A052BB #B87ECC #D0AADE

Accessibility & contrast

On white

4.75
#A052BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A052BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A052BB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052BB#FFFFFF#000000##FFFFFF
##A052BB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#9F637F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a052bb;
/* rgb */ color: rgb(160, 82, 187);
/* oklch */ color: oklch(57.6% 0.171 316.6);
Tailwind
colors: {
  custom: {
    50: '#bf86d0',
    500: '#a052bb',
    950: '#000000',
  },
}
SCSS
$custom: #a052bb;
$custom-light: #bf86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a052bb",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 284.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.17137,
    "h": 316.6
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

primary
#A052BB
secondary
#A9CB9E
accent
#D35475
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A052BB

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

Preview Lab → · Contrast checker → · Palette generator →

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