#AA74CD#AA74CD

#AA74CD is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.9% C 0.140 H 311.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA74CD
RGBrgb(170, 116, 205)
HSLhsl(276, 47%, 63%)
HSVhsv(276, 43%, 80%)
CMYKcmyk(17.1%, 43.4%, 0%, 19.6%)
CIE-LABlab(57.51, 37.54, -38.03)
CIE-LCHlch(57.51, 53.43, 314.63°)
OKLaboklab(64.9% 0.0916 -0.1056)
OKLCHoklch(64.9% 0.14 311)
XYZxyz(33.8404, 25.4452, 60.8745)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74CD #97CD74
analogous
#7D74CD #AA74CD #CD74C4
triadic
#AA74CD #CDAA74 #74CDAA
tetradic
#AA74CD #CD7D74 #97CD74 #74C4CD
square
#AA74CD #CD7D74 #97CD74 #74C4CD
split-complementary
#AA74CD #C4CD74 #74CD7D
monochromatic
#6D3592 #8E47BD #AA74CD #C6A1DD #E1CEED

Accessibility & contrast

On white

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

On black

6.09
#AA74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74CD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74CD#FFFFFF#000000##000000
##AA74CD1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#6F8BCB
Tritanopia (blue-blind)
#A68197
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa74cd;
/* rgb */ color: rgb(170, 116, 205);
/* oklch */ color: oklch(64.9% 0.140 311.0);
Tailwind
colors: {
  custom: {
    50: '#c59ddc',
    500: '#aa74cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa74cd;
$custom-light: #c59ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74cd",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 276.404,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64897,
    "c": 0.1398,
    "h": 311
  },
  "luminance": 0.25445
}

Semantic roles & 50–950 ramp

primary
#AA74CD
secondary
#CBDEBE
accent
#BA2B63
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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