#AA74EA#AA74EA

#AA74EA is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.4% C 0.175 H 303.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AA74EA
RGBrgb(170, 116, 234)
HSLhsl(267, 74%, 69%)
HSVhsv(267, 50%, 92%)
CMYKcmyk(27.4%, 50.4%, 0%, 8.2%)
CIE-LABlab(58.95, 44.20, -52.03)
CIE-LCHlch(58.95, 68.27, 310.35°)
OKLaboklab(66.45% 0.0953 -0.1463)
OKLCHoklch(66.45% 0.175 303.1)
XYZxyz(37.6709, 26.9774, 81.0485)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74EA #B4EA74
analogous
#7479EA #AA74EA #E574EA
triadic
#AA74EA #EAAA74 #74EAAA
tetradic
#AA74EA #EA7479 #B4EA74 #74EAE5
square
#AA74EA #EA7479 #B4EA74 #74EAE5
split-complementary
#AA74EA #EAE574 #79EA74
monochromatic
#6B1EC6 #893FE2 #AA74EA #CBA9F2 #EBDEFA

Accessibility & contrast

On white

3.28
#AA74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AA74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74EA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74EA#FFFFFF#000000##000000
##AA74EA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#9E8AA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa74ea;
/* rgb */ color: rgb(170, 116, 234);
/* oklch */ color: oklch(66.4% 0.175 303.1);
Tailwind
colors: {
  custom: {
    50: '#c69df1',
    500: '#aa74ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa74ea;
$custom-light: #c69df1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74ea",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 267.458,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66448,
    "c": 0.1746,
    "h": 303.1
  },
  "luminance": 0.26977
}

Semantic roles & 50–950 ramp

primary
#AA74EA
secondary
#DEEFCB
accent
#D6107B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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