#AA35D2#AA35D2

#AA35D2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.235 H 315.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AA35D2
RGBrgb(170, 53, 210)
HSLhsl(285, 64%, 52%)
HSVhsv(285, 75%, 82%)
CMYKcmyk(19%, 74.8%, 0%, 17.6%)
CIE-LABlab(46.64, 68.46, -58.17)
CIE-LCHlch(46.64, 89.83, 319.65°)
OKLaboklab(57.05% 0.1683 -0.164)
OKLCHoklch(57.05% 0.235 315.8)
XYZxyz(29.4817, 15.7465, 62.4467)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA35D2 #5DD235
analogous
#5C35D2 #AA35D2 #D235AC
triadic
#AA35D2 #D2AA35 #35D2AA
tetradic
#AA35D2 #D25C35 #5DD235 #35ACD2
square
#AA35D2 #D25C35 #5DD235 #35ACD2
split-complementary
#AA35D2 #ACD235 #35D25C
monochromatic
#5C1A73 #8425A5 #AA35D2 #BF67DD #D499E8

Accessibility & contrast

On white

5.06
#AA35D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AA35D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA35D2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA35D2#FFFFFF#000000##FFFFFF
##AA35D21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#3272CF
Tritanopia (blue-blind)
#A75882
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa35d2;
/* rgb */ color: rgb(170, 53, 210);
/* oklch */ color: oklch(57.0% 0.235 315.8);
Tailwind
colors: {
  custom: {
    50: '#c878e1',
    500: '#aa35d2',
    950: '#000000',
  },
}
SCSS
$custom: #aa35d2;
$custom-light: #c878e1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa35d2",
  "rgb": {
    "r": 170,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 284.713,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.23497,
    "h": 315.8
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#AA35D2
secondary
#A0D48F
accent
#E7416B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA35D2

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

Preview Lab → · Contrast checker → · Palette generator →

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