#A552B2#A552B2

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

Color values

HEX#A552B2
RGBrgb(165, 82, 178)
HSLhsl(292, 38%, 51%)
HSVhsv(292, 54%, 70%)
CMYKcmyk(7.3%, 53.9%, 0%, 30.2%)
CIE-LABlab(48.57, 48.60, -36.58)
CIE-LCHlch(48.57, 60.82, 323.03°)
OKLaboklab(57.7% 0.1299 -0.1013)
OKLCHoklch(57.7% 0.165 322.1)
XYZxyz(26.5694, 17.2495, 44.0408)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552B2 #5FB252
analogous
#7552B2 #A552B2 #B2528F
triadic
#A552B2 #B2A552 #52B2A5
tetradic
#A552B2 #B27552 #5FB252 #528FB2
square
#A552B2 #B27552 #5FB252 #528FB2
split-complementary
#A552B2 #8FB252 #52B275
monochromatic
#582A5F #7F3D8A #A552B2 #BB7CC5 #D1A7D8

Accessibility & contrast

On white

4.72
#A552B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A552B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A552B2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552B2#FFFFFF#000000##FFFFFF
##A552B21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#A75F7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a552b2;
/* rgb */ color: rgb(165, 82, 178);
/* oklch */ color: oklch(57.7% 0.165 322.1);
Tailwind
colors: {
  custom: {
    50: '#c286c9',
    500: '#a552b2',
    950: '#000000',
  },
}
SCSS
$custom: #a552b2;
$custom-light: #c286c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a552b2",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 291.875,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57702,
    "c": 0.16472,
    "h": 322.1
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#A552B2
secondary
#A0C59B
accent
#CE5969
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A552B2

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

Preview Lab → · Contrast checker → · Palette generator →

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