#A552CB#A552CB

#A552CB is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.190 H 313.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A552CB
RGBrgb(165, 82, 203)
HSLhsl(281, 54%, 56%)
HSVhsv(281, 60%, 80%)
CMYKcmyk(18.7%, 59.6%, 0%, 20.4%)
CIE-LABlab(49.91, 53.70, -48.93)
CIE-LCHlch(49.91, 72.65, 317.66°)
OKLaboklab(59.12% 0.1314 -0.1372)
OKLCHoklch(59.12% 0.19 313.8)
XYZxyz(29.3120, 18.3466, 58.4855)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552CB #78CB52
analogous
#6852CB #A552CB #CB52B4
triadic
#A552CB #CBA552 #52CBA5
tetradic
#A552CB #CB6852 #78CB52 #52B4CB
square
#A552CB #CB6852 #78CB52 #52B4CB
split-complementary
#A552CB #B4CB52 #52CB68
monochromatic
#62267D #8634AC #A552CB #BD81D9 #D6B0E7

Accessibility & contrast

On white

4.50
#A552CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A552CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552CB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552CB#FFFFFF#000000##000000
##A552CB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#A26887
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a552cb;
/* rgb */ color: rgb(165, 82, 203);
/* oklch */ color: oklch(59.1% 0.190 313.8);
Tailwind
colors: {
  custom: {
    50: '#c387db',
    500: '#a552cb',
    950: '#000000',
  },
}
SCSS
$custom: #a552cb;
$custom-light: #c387db;
$custom-dark: #000000;
JSON
{
  "hex": "#a552cb",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 281.157,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.19002,
    "h": 313.8
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#A552CB
secondary
#B3D5A3
accent
#DD4B79
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A552CB

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

Preview Lab → · Contrast checker → · Palette generator →

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