#AA74CE#AA74CE

#AA74CE is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.9% C 0.141 H 310.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AA74CE
RGBrgb(170, 116, 206)
HSLhsl(276, 48%, 63%)
HSVhsv(276, 44%, 81%)
CMYKcmyk(17.5%, 43.7%, 0%, 19.2%)
CIE-LABlab(57.55, 37.76, -38.52)
CIE-LCHlch(57.55, 53.94, 314.43°)
OKLaboklab(64.95% 0.0918 -0.107)
OKLCHoklch(64.95% 0.141 310.6)
XYZxyz(33.9615, 25.4936, 61.5122)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74CE #98CE74
analogous
#7D74CE #AA74CE #CE74C5
triadic
#AA74CE #CEAA74 #74CEAA
tetradic
#AA74CE #CE7D74 #98CE74 #74C5CE
square
#AA74CE #CE7D74 #98CE74 #74C5CE
split-complementary
#AA74CE #C5CE74 #74CE7D
monochromatic
#6D3494 #8E47BE #AA74CE #C6A1DE #E1CEEE

Accessibility & contrast

On white

3.44
#AA74CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AA74CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74CE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74CE#FFFFFF#000000##000000
##AA74CE1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#6E8BCC
Tritanopia (blue-blind)
#A68297
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa74ce;
/* rgb */ color: rgb(170, 116, 206);
/* oklch */ color: oklch(64.9% 0.141 310.6);
Tailwind
colors: {
  custom: {
    50: '#c59ddd',
    500: '#aa74ce',
    950: '#000000',
  },
}
SCSS
$custom: #aa74ce;
$custom-light: #c59ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74ce",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 276,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64947,
    "c": 0.14099,
    "h": 310.6
  },
  "luminance": 0.25493
}

Semantic roles & 50–950 ramp

primary
#AA74CE
secondary
#CCDFBF
accent
#BB2A64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA74CE

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

Preview Lab → · Contrast checker → · Palette generator →

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