#AA33CD#AA33CD

#AA33CD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.233 H 317.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AA33CD
RGBrgb(170, 51, 205)
HSLhsl(286, 61%, 50%)
HSVhsv(286, 75%, 80%)
CMYKcmyk(17.1%, 75.1%, 0%, 19.6%)
CIE-LABlab(46.07, 68.19, -56.20)
CIE-LCHlch(46.07, 88.37, 320.51°)
OKLaboklab(56.54% 0.1707 -0.1582)
OKLCHoklch(56.54% 0.233 317.2)
XYZxyz(28.7792, 15.3227, 59.1874)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA33CD #56CD33
analogous
#5D33CD #AA33CD #CD33A3
triadic
#AA33CD #CDAA33 #33CDAA
tetradic
#AA33CD #CD5D33 #56CD33 #33A3CD
square
#AA33CD #CD5D33 #56CD33 #33A3CD
split-complementary
#AA33CD #A3CD33 #33CD5D
monochromatic
#591A6B #82269C #AA33CD #BE64D9 #D395E5

Accessibility & contrast

On white

5.17
#AA33CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AA33CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA33CD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA33CD#FFFFFF#000000##FFFFFF
##AA33CD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#A8547E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa33cd;
/* rgb */ color: rgb(170, 51, 205);
/* oklch */ color: oklch(56.5% 0.233 317.2);
Tailwind
colors: {
  custom: {
    50: '#c877dd',
    500: '#aa33cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa33cd;
$custom-light: #c877dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa33cd",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 205
  },
  "hsl": {
    "h": 286.364,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.23274,
    "h": 317.2
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#AA33CD
secondary
#9BD08B
accent
#E44468
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA33CD

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

Preview Lab → · Contrast checker → · Palette generator →

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