#AA74EC#AA74EC

#AA74EC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.177 H 302.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AA74EC
RGBrgb(170, 116, 236)
HSLhsl(267, 76%, 69%)
HSVhsv(267, 51%, 93%)
CMYKcmyk(28%, 50.8%, 0%, 7.5%)
CIE-LABlab(59.06, 44.68, -52.97)
CIE-LCHlch(59.06, 69.29, 310.15°)
OKLaboklab(66.56% 0.0955 -0.149)
OKLCHoklch(66.56% 0.177 302.7)
XYZxyz(37.9599, 27.0930, 82.5703)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74EC #B6EC74
analogous
#747AEC #AA74EC #E674EC
triadic
#AA74EC #ECAA74 #74ECAA
tetradic
#AA74EC #EC747A #B6EC74 #74ECE6
square
#AA74EC #EC747A #B6EC74 #74ECE6
split-complementary
#AA74EC #ECE674 #7AEC74
monochromatic
#6A1CCA #893EE5 #AA74EC #CBAAF3 #ECE0FB

Accessibility & contrast

On white

3.27
#AA74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AA74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74EC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74EC#FFFFFF#000000##000000
##AA74EC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa74ec;
/* rgb */ color: rgb(170, 116, 236);
/* oklch */ color: oklch(66.6% 0.177 302.7);
Tailwind
colors: {
  custom: {
    50: '#c69df3',
    500: '#aa74ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa74ec;
$custom-light: #c69df3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74ec",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 267,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66562,
    "c": 0.177,
    "h": 302.7
  },
  "luminance": 0.27093
}

Semantic roles & 50–950 ramp

primary
#AA74EC
secondary
#E0EFCC
accent
#D80D7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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