#AA74CA#AA74CA

#AA74CA is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.7% C 0.136 H 312.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AA74CA
RGBrgb(170, 116, 202)
HSLhsl(278, 45%, 62%)
HSVhsv(278, 43%, 79%)
CMYKcmyk(15.8%, 42.6%, 0%, 20.8%)
CIE-LABlab(57.37, 36.88, -36.54)
CIE-LCHlch(57.37, 51.92, 315.26°)
OKLaboklab(64.75% 0.0911 -0.1013)
OKLCHoklch(64.75% 0.136 312)
XYZxyz(33.4818, 25.3017, 58.9856)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74CA #94CA74
analogous
#7F74CA #AA74CA #CA74BF
triadic
#AA74CA #CAAA74 #74CAAA
tetradic
#AA74CA #CA7F74 #94CA74 #74BFCA
square
#AA74CA #CA7F74 #94CA74 #74BFCA
split-complementary
#AA74CA #BFCA74 #74CA7F
monochromatic
#6D368E #8F48B9 #AA74CA #C5A0DB #E0CDEC

Accessibility & contrast

On white

3.47
#AA74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AA74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74CA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74CA#FFFFFF#000000##000000
##AA74CA1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#A78195
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa74ca;
/* rgb */ color: rgb(170, 116, 202);
/* oklch */ color: oklch(64.7% 0.136 312.0);
Tailwind
colors: {
  custom: {
    50: '#c59dda',
    500: '#aa74ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa74ca;
$custom-light: #c59dda;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74ca",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 277.674,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64747,
    "c": 0.13624,
    "h": 312
  },
  "luminance": 0.25301
}

Semantic roles & 50–950 ramp

primary
#AA74CA
secondary
#C9DDBD
accent
#B82E61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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