#A052B2#A052B2

#A052B2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.1% C 0.162 H 319.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A052B2
RGBrgb(160, 82, 178)
HSLhsl(289, 38%, 51%)
HSVhsv(289, 54%, 70%)
CMYKcmyk(10.1%, 53.9%, 0%, 30.2%)
CIE-LABlab(47.91, 47.22, -37.67)
CIE-LCHlch(47.91, 60.40, 321.42°)
OKLaboklab(57.08% 0.1239 -0.1046)
OKLCHoklch(57.08% 0.162 319.8)
XYZxyz(25.5494, 16.7236, 43.9930)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052B2 #64B252
analogous
#7052B2 #A052B2 #B25294
triadic
#A052B2 #B2A052 #52B2A0
tetradic
#A052B2 #B27052 #64B252 #5294B2
square
#A052B2 #B27052 #64B252 #5294B2
split-complementary
#A052B2 #94B252 #52B270
monochromatic
#552A5F #7B3D8A #A052B2 #B77CC5 #CFA7D8

Accessibility & contrast

On white

4.83
#A052B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A052B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A052B2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052B2#FFFFFF#000000##FFFFFF
##A052B21.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#5975AF
Tritanopia (blue-blind)
#A1607A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a052b2;
/* rgb */ color: rgb(160, 82, 178);
/* oklch */ color: oklch(57.1% 0.162 319.8);
Tailwind
colors: {
  custom: {
    50: '#be86c9',
    500: '#a052b2',
    950: '#000000',
  },
}
SCSS
$custom: #a052b2;
$custom-light: #be86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a052b2",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 288.75,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.1621,
    "h": 319.8
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#A052B2
secondary
#A3C59B
accent
#CE596F
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A052B2

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

Preview Lab → · Contrast checker → · Palette generator →

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