#AA74BC#AA74BC

#AA74BC is a light, moderate purple. Relative luminance 0.247; OKLCH L 64.1% C 0.120 H 317.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AA74BC
RGBrgb(170, 116, 188)
HSLhsl(285, 35%, 60%)
HSVhsv(285, 38%, 74%)
CMYKcmyk(9.6%, 38.3%, 0%, 26.3%)
CIE-LABlab(56.75, 33.89, -29.53)
CIE-LCHlch(56.75, 44.95, 318.93°)
OKLaboklab(64.08% 0.0883 -0.0812)
OKLCHoklch(64.08% 0.12 317.4)
XYZxyz(31.8988, 24.6685, 50.6483)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74BC #86BC74
analogous
#8674BC #AA74BC #BC74AA
triadic
#AA74BC #BCAA74 #74BCAA
tetradic
#AA74BC #BC8674 #86BC74 #74AABC
square
#AA74BC #BC8674 #86BC74 #74AABC
split-complementary
#AA74BC #AABC74 #74BC86
monochromatic
#6B3B7B #8F4FA4 #AA74BC #C39DD0 #DDC7E4

Accessibility & contrast

On white

3.54
#AA74BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AA74BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74BC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74BC#FFFFFF#000000##000000
##AA74BC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985BF
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#AA7D8F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa74bc;
/* rgb */ color: rgb(170, 116, 188);
/* oklch */ color: oklch(64.1% 0.120 317.4);
Tailwind
colors: {
  custom: {
    50: '#c49dd0',
    500: '#aa74bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa74bc;
$custom-light: #c49dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74bc",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 285,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6408,
    "c": 0.11992,
    "h": 317.4
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

primary
#AA74BC
secondary
#BFD4B8
accent
#CB5D78
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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