#A552C2#A552C2

#A552C2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.181 H 316.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A552C2
RGBrgb(165, 82, 194)
HSLhsl(284, 48%, 54%)
HSVhsv(284, 58%, 76%)
CMYKcmyk(14.9%, 57.7%, 0%, 23.9%)
CIE-LABlab(49.41, 51.82, -44.55)
CIE-LCHlch(49.41, 68.33, 319.31°)
OKLaboklab(58.59% 0.1311 -0.1244)
OKLCHoklch(58.59% 0.181 316.5)
XYZxyz(28.2705, 17.9300, 53.0001)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552C2 #6FC252
analogous
#6D52C2 #A552C2 #C252A7
triadic
#A552C2 #C2A552 #52C2A5
tetradic
#A552C2 #C26D52 #6FC252 #52A7C2
square
#A552C2 #C26D52 #6FC252 #52A7C2
split-complementary
#A552C2 #A7C252 #52C26D
monochromatic
#5F2872 #84389F #A552C2 #BD7FD2 #D4ACE2

Accessibility & contrast

On white

4.58
#A552C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A552C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552C2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552C2#FFFFFF#000000##000000
##A552C21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C6
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#A46482
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a552c2;
/* rgb */ color: rgb(165, 82, 194);
/* oklch */ color: oklch(58.6% 0.181 316.5);
Tailwind
colors: {
  custom: {
    50: '#c287d5',
    500: '#a552c2',
    950: '#000000',
  },
}
SCSS
$custom: #a552c2;
$custom-light: #c287d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a552c2",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 284.464,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58589,
    "c": 0.18078,
    "h": 316.5
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#A552C2
secondary
#ACD0A0
accent
#D75073
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A552C2

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

Preview Lab → · Contrast checker → · Palette generator →

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