#AA74DD#AA74DD

#AA74DD is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.7% C 0.159 H 306.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AA74DD
RGBrgb(170, 116, 221)
HSLhsl(271, 61%, 66%)
HSVhsv(271, 48%, 87%)
CMYKcmyk(23.1%, 47.5%, 0%, 13.3%)
CIE-LABlab(58.28, 41.16, -45.83)
CIE-LCHlch(58.28, 61.59, 311.93°)
OKLaboklab(65.73% 0.094 -0.1282)
OKLCHoklch(65.73% 0.159 306.2)
XYZxyz(35.8714, 26.2576, 71.5711)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74DD #A7DD74
analogous
#7574DD #AA74DD #DD74DC
triadic
#AA74DD #DDAA74 #74DDAA
tetradic
#AA74DD #DD7574 #A7DD74 #74DCDD
square
#AA74DD #DD7574 #A7DD74 #74DCDD
split-complementary
#AA74DD #DCDD74 #74DD75
monochromatic
#6D2AAC #8C43D1 #AA74DD #C8A5E9 #E6D6F5

Accessibility & contrast

On white

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

On black

6.25
#AA74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74DD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74DD#FFFFFF#000000##000000
##AA74DD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE1
Deuteranopia (green-blind)
#668DDA
Tritanopia (blue-blind)
#A2869E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa74dd;
/* rgb */ color: rgb(170, 116, 221);
/* oklch */ color: oklch(65.7% 0.159 306.2);
Tailwind
colors: {
  custom: {
    50: '#c59de8',
    500: '#aa74dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa74dd;
$custom-light: #c59de8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74dd",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 270.857,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65728,
    "c": 0.15896,
    "h": 306.2
  },
  "luminance": 0.26257
}

Semantic roles & 50–950 ramp

primary
#AA74DD
secondary
#D6E8C5
accent
#C81D70
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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