#AA74CC#AA74CC

#AA74CC is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.8% C 0.139 H 311.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA74CC
RGBrgb(170, 116, 204)
HSLhsl(277, 46%, 63%)
HSVhsv(277, 43%, 80%)
CMYKcmyk(16.7%, 43.1%, 0%, 20%)
CIE-LABlab(57.46, 37.32, -37.53)
CIE-LCHlch(57.46, 52.93, 314.84°)
OKLaboklab(64.85% 0.0915 -0.1041)
OKLCHoklch(64.85% 0.139 311.3)
XYZxyz(33.7201, 25.3970, 60.2408)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74CC #96CC74
analogous
#7E74CC #AA74CC #CC74C2
triadic
#AA74CC #CCAA74 #74CCAA
tetradic
#AA74CC #CC7E74 #96CC74 #74C2CC
square
#AA74CC #CC7E74 #96CC74 #74C2CC
split-complementary
#AA74CC #C2CC74 #74CC7E
monochromatic
#6D3591 #8F47BC #AA74CC #C5A1DC #E1CEED

Accessibility & contrast

On white

3.45
#AA74CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AA74CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74CC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74CC#FFFFFF#000000##000000
##AA74CC1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CF
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#A68196
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa74cc;
/* rgb */ color: rgb(170, 116, 204);
/* oklch */ color: oklch(64.8% 0.139 311.3);
Tailwind
colors: {
  custom: {
    50: '#c59ddc',
    500: '#aa74cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa74cc;
$custom-light: #c59ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74cc",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 276.818,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64847,
    "c": 0.13861,
    "h": 311.3
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#AA74CC
secondary
#CADEBE
accent
#BA2C63
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA74CC

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

Preview Lab → · Contrast checker → · Palette generator →

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