#AA74BD#AA74BD

#AA74BD is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.1% C 0.121 H 317.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AA74BD
RGBrgb(170, 116, 189)
HSLhsl(284, 36%, 60%)
HSVhsv(284, 39%, 74%)
CMYKcmyk(10.1%, 38.6%, 0%, 25.9%)
CIE-LABlab(56.79, 34.10, -30.04)
CIE-LCHlch(56.79, 45.44, 318.62°)
OKLaboklab(64.13% 0.0885 -0.0826)
OKLCHoklch(64.13% 0.121 317)
XYZxyz(32.0069, 24.7118, 51.2180)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74BD #87BD74
analogous
#8674BD #AA74BD #BD74AB
triadic
#AA74BD #BDAA74 #74BDAA
tetradic
#AA74BD #BD8674 #87BD74 #74ABBD
square
#AA74BD #BD8674 #87BD74 #74ABBD
split-complementary
#AA74BD #ABBD74 #74BD86
monochromatic
#6B3B7C #8F4EA5 #AA74BD #C39DD1 #DDC7E4

Accessibility & contrast

On white

3.53
#AA74BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AA74BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74BD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74BD#FFFFFF#000000##000000
##AA74BD1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985C0
Deuteranopia (green-blind)
#768ABB
Tritanopia (blue-blind)
#AA7D90
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa74bd;
/* rgb */ color: rgb(170, 116, 189);
/* oklch */ color: oklch(64.1% 0.121 317.0);
Tailwind
colors: {
  custom: {
    50: '#c49dd1',
    500: '#aa74bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa74bd;
$custom-light: #c49dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74bd",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 284.384,
    "s": 35.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64126,
    "c": 0.12106,
    "h": 317
  },
  "luminance": 0.24711
}

Semantic roles & 50–950 ramp

primary
#AA74BD
secondary
#C0D5B8
accent
#CC5C79
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA74BD

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

Preview Lab → · Contrast checker → · Palette generator →

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