#A552B7#A552B7

#A552B7 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.0% C 0.170 H 320.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A552B7
RGBrgb(165, 82, 183)
HSLhsl(289, 41%, 52%)
HSVhsv(289, 55%, 72%)
CMYKcmyk(9.8%, 55.2%, 0%, 28.2%)
CIE-LABlab(48.83, 49.58, -39.09)
CIE-LCHlch(48.83, 63.14, 321.75°)
OKLaboklab(57.97% 0.1304 -0.1086)
OKLCHoklch(57.97% 0.17 320.2)
XYZxyz(27.0805, 17.4540, 46.7331)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552B7 #64B752
analogous
#7352B7 #A552B7 #B75297
triadic
#A552B7 #B7A552 #52B7A5
tetradic
#A552B7 #B77352 #64B752 #5297B7
square
#A552B7 #B77352 #64B752 #5297B7
split-complementary
#A552B7 #97B752 #52B773
monochromatic
#5A2A65 #813C90 #A552B7 #BB7DC9 #D2A8DB

Accessibility & contrast

On white

4.68
#A552B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A552B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A552B7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552B7#FFFFFF#000000##FFFFFF
##A552B71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#A6617D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a552b7;
/* rgb */ color: rgb(165, 82, 183);
/* oklch */ color: oklch(58.0% 0.170 320.2);
Tailwind
colors: {
  custom: {
    50: '#c286cd',
    500: '#a552b7',
    950: '#000000',
  },
}
SCSS
$custom: #a552b7;
$custom-light: #c286cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a552b7",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 289.307,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.16968,
    "h": 320.2
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#A552B7
secondary
#A4C99C
accent
#D1576D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A552B7

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

Preview Lab → · Contrast checker → · Palette generator →

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