#AA74E6#AA74E6

#AA74E6 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.2% C 0.170 H 304.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AA74E6
RGBrgb(170, 116, 230)
HSLhsl(268, 70%, 68%)
HSVhsv(268, 50%, 90%)
CMYKcmyk(26.1%, 49.6%, 0%, 9.8%)
CIE-LABlab(58.74, 43.26, -50.13)
CIE-LCHlch(58.74, 66.21, 310.79°)
OKLaboklab(66.22% 0.095 -0.1407)
OKLCHoklch(66.22% 0.17 304)
XYZxyz(37.1028, 26.7501, 78.0562)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74E6 #B0E674
analogous
#7477E6 #AA74E6 #E374E6
triadic
#AA74E6 #E6AA74 #74E6AA
tetradic
#AA74E6 #E67477 #B0E674 #74E6E3
square
#AA74E6 #E67477 #B0E674 #74E6E3
split-complementary
#AA74E6 #E6E374 #77E674
monochromatic
#6C22BE #8A40DD #AA74E6 #CAA8EF #E9DCF9

Accessibility & contrast

On white

3.31
#AA74E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AA74E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74E6
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74E6#FFFFFF#000000##000000
##AA74E61.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEA
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#A088A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa74e6;
/* rgb */ color: rgb(170, 116, 230);
/* oklch */ color: oklch(66.2% 0.170 304.0);
Tailwind
colors: {
  custom: {
    50: '#c69dee',
    500: '#aa74e6',
    950: '#000000',
  },
}
SCSS
$custom: #aa74e6;
$custom-light: #c69dee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74e6",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 268.421,
    "s": 69.512,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66222,
    "c": 0.16979,
    "h": 304
  },
  "luminance": 0.2675
}

Semantic roles & 50–950 ramp

primary
#AA74E6
secondary
#DCECC9
accent
#D11478
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA74E6

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

Preview Lab → · Contrast checker → · Palette generator →

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