#AA74C8#AA74C8

#AA74C8 is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.6% C 0.134 H 312.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA74C8
RGBrgb(170, 116, 200)
HSLhsl(279, 43%, 62%)
HSVhsv(279, 42%, 78%)
CMYKcmyk(15%, 42%, 0%, 21.6%)
CIE-LABlab(57.28, 36.44, -35.55)
CIE-LCHlch(57.28, 50.91, 315.71°)
OKLaboklab(64.65% 0.0907 -0.0984)
OKLCHoklch(64.65% 0.134 312.7)
XYZxyz(33.2465, 25.2076, 57.7465)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74C8 #92C874
analogous
#8074C8 #AA74C8 #C874BC
triadic
#AA74C8 #C8AA74 #74C8AA
tetradic
#AA74C8 #C88074 #92C874 #74BCC8
square
#AA74C8 #C88074 #92C874 #74BCC8
split-complementary
#AA74C8 #BCC874 #74C880
monochromatic
#6D378B #8F48B7 #AA74C8 #C5A0D9 #E0CCEB

Accessibility & contrast

On white

3.48
#AA74C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AA74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74C8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74C8#FFFFFF#000000##000000
##AA74C81.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CB
Deuteranopia (green-blind)
#718BC6
Tritanopia (blue-blind)
#A78094
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa74c8;
/* rgb */ color: rgb(170, 116, 200);
/* oklch */ color: oklch(64.6% 0.134 312.7);
Tailwind
colors: {
  custom: {
    50: '#c59dd9',
    500: '#aa74c8',
    950: '#000000',
  },
}
SCSS
$custom: #aa74c8;
$custom-light: #c59dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74c8",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 278.571,
    "s": 43.299,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64649,
    "c": 0.13387,
    "h": 312.7
  },
  "luminance": 0.25207
}

Semantic roles & 50–950 ramp

primary
#AA74C8
secondary
#C7DBBC
accent
#B62F5F
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AA74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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