#AA74EB#AA74EB

#AA74EB is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.176 H 302.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AA74EB
RGBrgb(170, 116, 235)
HSLhsl(267, 75%, 69%)
HSVhsv(267, 51%, 92%)
CMYKcmyk(27.7%, 50.6%, 0%, 7.8%)
CIE-LABlab(59.01, 44.44, -52.50)
CIE-LCHlch(59.01, 68.78, 310.25°)
OKLaboklab(66.51% 0.0954 -0.1476)
OKLCHoklch(66.51% 0.176 302.9)
XYZxyz(37.8150, 27.0350, 81.8072)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74EB #B5EB74
analogous
#747AEB #AA74EB #E674EB
triadic
#AA74EB #EBAA74 #74EBAA
tetradic
#AA74EB #EB747A #B5EB74 #74EBE6
square
#AA74EB #EB747A #B5EB74 #74EBE6
split-complementary
#AA74EB #EBE674 #7AEB74
monochromatic
#6A1DC8 #893EE3 #AA74EB #CBAAF3 #EBDFFA

Accessibility & contrast

On white

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

On black

6.41
#AA74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74EB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74EB#FFFFFF#000000##000000
##AA74EB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#9E8AA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa74eb;
/* rgb */ color: rgb(170, 116, 235);
/* oklch */ color: oklch(66.5% 0.176 302.9);
Tailwind
colors: {
  custom: {
    50: '#c69df2',
    500: '#aa74eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa74eb;
$custom-light: #c69df2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74eb",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 267.227,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66505,
    "c": 0.1758,
    "h": 302.9
  },
  "luminance": 0.27035
}

Semantic roles & 50–950 ramp

primary
#AA74EB
secondary
#DFEFCC
accent
#D70F7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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