#AA36CD#AA36CD

#AA36CD is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.230 H 317.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA36CD
RGBrgb(170, 54, 205)
HSLhsl(286, 60%, 51%)
HSVhsv(286, 74%, 80%)
CMYKcmyk(17.1%, 73.7%, 0%, 19.6%)
CIE-LABlab(46.44, 67.15, -55.62)
CIE-LCHlch(46.44, 87.19, 320.37°)
OKLaboklab(56.8% 0.168 -0.1565)
OKLCHoklch(56.8% 0.23 317)
XYZxyz(28.9145, 15.5934, 59.2325)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA36CD #59CD36
analogous
#5E36CD #AA36CD #CD36A4
triadic
#AA36CD #CDAA36 #36CDAA
tetradic
#AA36CD #CD5E36 #59CD36 #36A4CD
square
#AA36CD #CD5E36 #59CD36 #36A4CD
split-complementary
#AA36CD #A4CD36 #36CD5E
monochromatic
#5A1B6D #83279E #AA36CD #BF67D9 #D398E5

Accessibility & contrast

On white

5.10
#AA36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AA36CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA36CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA36CD#FFFFFF#000000##FFFFFF
##AA36CD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#3971CA
Tritanopia (blue-blind)
#A8567F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa36cd;
/* rgb */ color: rgb(170, 54, 205);
/* oklch */ color: oklch(56.8% 0.230 317.0);
Tailwind
colors: {
  custom: {
    50: '#c879dd',
    500: '#aa36cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa36cd;
$custom-light: #c879dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa36cd",
  "rgb": {
    "r": 170,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 286.093,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.568,
    "c": 0.22962,
    "h": 317
  },
  "luminance": 0.15592
}

Semantic roles & 50–950 ramp

primary
#AA36CD
secondary
#9DD18E
accent
#E34469
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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