#AA57CB#AA57CB

#AA57CB is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.4% C 0.185 H 315.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AA57CB
RGBrgb(170, 87, 203)
HSLhsl(283, 53%, 57%)
HSVhsv(283, 57%, 80%)
CMYKcmyk(16.3%, 57.1%, 0%, 20.4%)
CIE-LABlab(51.47, 52.49, -46.42)
CIE-LCHlch(51.47, 70.07, 318.51°)
OKLaboklab(60.39% 0.1312 -0.1298)
OKLCHoklch(60.39% 0.185 315.3)
XYZxyz(30.7636, 19.6752, 58.6655)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57CB #78CB57
analogous
#7057CB #AA57CB #CB57B2
triadic
#AA57CB #CBAA57 #57CBAA
tetradic
#AA57CB #CB7057 #78CB57 #57B2CB
square
#AA57CB #CB7057 #78CB57 #57B2CB
split-complementary
#AA57CB #B2CB57 #57CB70
monochromatic
#672880 #8C36AF #AA57CB #C286D9 #D9B4E8

Accessibility & contrast

On white

4.26
#AA57CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AA57CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57CB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57CB#FFFFFF#000000##000000
##AA57CB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#A86A89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa57cb;
/* rgb */ color: rgb(170, 87, 203);
/* oklch */ color: oklch(60.4% 0.185 315.3);
Tailwind
colors: {
  custom: {
    50: '#c68adb',
    500: '#aa57cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa57cb;
$custom-light: #c68adb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57cb",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 282.931,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60389,
    "c": 0.18457,
    "h": 315.3
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#AA57CB
secondary
#B5D7A7
accent
#DC4C75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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