#AA74EF#AA74EF

#AA74EF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.181 H 302.0°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AA74EF
RGBrgb(170, 116, 239)
HSLhsl(266, 79%, 70%)
HSVhsv(266, 51%, 94%)
CMYKcmyk(28.9%, 51.5%, 0%, 6.3%)
CIE-LABlab(59.22, 45.39, -54.38)
CIE-LCHlch(59.22, 70.84, 309.85°)
OKLaboklab(66.73% 0.0957 -0.1531)
OKLCHoklch(66.73% 0.181 302)
XYZxyz(38.3994, 27.2688, 84.8850)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74EF #B9EF74
analogous
#747CEF #AA74EF #E774EF
triadic
#AA74EF #EFAA74 #74EFAA
tetradic
#AA74EF #EF747C #B9EF74 #74EFE7
square
#AA74EF #EF747C #B9EF74 #74EFE7
split-complementary
#AA74EF #EFE774 #7CEF74
monochromatic
#6918D1 #883DE9 #AA74EF #CCABF5 #EDE2FC

Accessibility & contrast

On white

3.25
#AA74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#AA74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74EF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74EF#FFFFFF#000000##000000
##AA74EF1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#5A8EEC
Tritanopia (blue-blind)
#9D8BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa74ef;
/* rgb */ color: rgb(170, 116, 239);
/* oklch */ color: oklch(66.7% 0.181 302.0);
Tailwind
colors: {
  custom: {
    50: '#c69df5',
    500: '#aa74ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa74ef;
$custom-light: #c69df5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74ef",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 266.341,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66734,
    "c": 0.18061,
    "h": 302
  },
  "luminance": 0.27269
}

Semantic roles & 50–950 ramp

primary
#AA74EF
secondary
#E2F1CE
accent
#DC0A80
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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