#A552BA#A552BA

#A552BA is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.1% C 0.173 H 319.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A552BA
RGBrgb(165, 82, 186)
HSLhsl(288, 43%, 53%)
HSVhsv(288, 56%, 73%)
CMYKcmyk(11.3%, 55.9%, 0%, 27.1%)
CIE-LABlab(48.98, 50.18, -40.59)
CIE-LCHlch(48.98, 64.55, 321.03°)
OKLaboklab(58.14% 0.1306 -0.1129)
OKLCHoklch(58.14% 0.173 319.2)
XYZxyz(27.3961, 17.5802, 48.3951)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552BA #67BA52
analogous
#7152BA #A552BA #BA529B
triadic
#A552BA #BAA552 #52BAA5
tetradic
#A552BA #BA7152 #67BA52 #529BBA
square
#A552BA #BA7152 #67BA52 #529BBA
split-complementary
#A552BA #9BBA52 #52BA71
monochromatic
#5B2A68 #823B94 #A552BA #BC7ECB #D3AADD

Accessibility & contrast

On white

4.65
#A552BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A552BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A552BA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552BA#FFFFFF#000000##FFFFFF
##A552BA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#5977B7
Tritanopia (blue-blind)
#A5627E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a552ba;
/* rgb */ color: rgb(165, 82, 186);
/* oklch */ color: oklch(58.1% 0.173 319.2);
Tailwind
colors: {
  custom: {
    50: '#c286cf',
    500: '#a552ba',
    950: '#000000',
  },
}
SCSS
$custom: #a552ba;
$custom-light: #c286cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a552ba",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 287.885,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.17268,
    "h": 319.2
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#A552BA
secondary
#A6CA9D
accent
#D3556E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A552BA

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

Preview Lab → · Contrast checker → · Palette generator →

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