#AA74DC#AA74DC

#AA74DC is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.7% C 0.158 H 306.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AA74DC
RGBrgb(170, 116, 220)
HSLhsl(271, 60%, 66%)
HSVhsv(271, 47%, 86%)
CMYKcmyk(22.7%, 47.3%, 0%, 13.7%)
CIE-LABlab(58.23, 40.93, -45.34)
CIE-LCHlch(58.23, 61.08, 312.07°)
OKLaboklab(65.68% 0.0939 -0.1268)
OKLCHoklch(65.68% 0.158 306.5)
XYZxyz(35.7386, 26.2044, 70.8715)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74DC #A6DC74
analogous
#7674DC #AA74DC #DC74DA
triadic
#AA74DC #DCAA74 #74DCAA
tetradic
#AA74DC #DC7674 #A6DC74 #74DADC
square
#AA74DC #DC7674 #A6DC74 #74DADC
split-complementary
#AA74DC #DADC74 #74DC76
monochromatic
#6D2BAB #8C43D0 #AA74DC #C8A5E8 #E6D6F5

Accessibility & contrast

On white

3.36
#AA74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AA74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74DC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74DC#FFFFFF#000000##000000
##AA74DC1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#678CD9
Tritanopia (blue-blind)
#A2869E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa74dc;
/* rgb */ color: rgb(170, 116, 220);
/* oklch */ color: oklch(65.7% 0.158 306.5);
Tailwind
colors: {
  custom: {
    50: '#c59de7',
    500: '#aa74dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa74dc;
$custom-light: #c59de7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74dc",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 271.154,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65675,
    "c": 0.15776,
    "h": 306.5
  },
  "luminance": 0.26204
}

Semantic roles & 50–950 ramp

primary
#AA74DC
secondary
#D5E7C5
accent
#C71E6F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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