#AA55CB#AA55CB

#AA55CB is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.1% C 0.188 H 315.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AA55CB
RGBrgb(170, 85, 203)
HSLhsl(283, 53%, 56%)
HSVhsv(283, 58%, 80%)
CMYKcmyk(16.3%, 58.1%, 0%, 20.4%)
CIE-LABlab(51.10, 53.47, -47.00)
CIE-LCHlch(51.10, 71.20, 318.68°)
OKLaboklab(60.12% 0.1338 -0.1315)
OKLCHoklch(60.12% 0.188 315.5)
XYZxyz(30.6039, 19.3558, 58.6123)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55CB #76CB55
analogous
#6F55CB #AA55CB #CB55B1
triadic
#AA55CB #CBAA55 #55CBAA
tetradic
#AA55CB #CB6F55 #76CB55 #55B1CB
square
#AA55CB #CB6F55 #76CB55 #55B1CB
split-complementary
#AA55CB #B1CB55 #55CB6F
monochromatic
#66277F #8C35AE #AA55CB #C184D9 #D9B3E8

Accessibility & contrast

On white

4.31
#AA55CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AA55CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55CB#FFFFFF#000000##000000
##AA55CB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#A86988
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa55cb;
/* rgb */ color: rgb(170, 85, 203);
/* oklch */ color: oklch(60.1% 0.188 315.5);
Tailwind
colors: {
  custom: {
    50: '#c689db',
    500: '#aa55cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa55cb;
$custom-light: #c689db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55cb",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 283.22,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60121,
    "c": 0.18758,
    "h": 315.5
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#AA55CB
secondary
#B3D6A6
accent
#DD4B74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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