#AA62DC#AA62DC

#AA62DC is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.186 H 309.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AA62DC
RGBrgb(170, 98, 220)
HSLhsl(275, 64%, 62%)
HSVhsv(275, 55%, 86%)
CMYKcmyk(22.7%, 55.5%, 0%, 13.7%)
CIE-LABlab(54.50, 50.57, -51.26)
CIE-LCHlch(54.50, 72.01, 314.61°)
OKLaboklab(62.91% 0.1178 -0.144)
OKLCHoklch(62.91% 0.186 309.3)
XYZxyz(33.8610, 22.4493, 70.2456)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA62DC #94DC62
analogous
#6D62DC #AA62DC #DC62D1
triadic
#AA62DC #DCAA62 #62DCAA
tetradic
#AA62DC #DC6D62 #94DC62 #62D1DC
square
#AA62DC #DC6D62 #94DC62 #62D1DC
split-complementary
#AA62DC #D1DC62 #62DC6D
monochromatic
#6D24A0 #8F30D1 #AA62DC #C594E7 #E0C6F2

Accessibility & contrast

On white

3.83
#AA62DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AA62DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA62DC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA62DC#FFFFFF#000000##000000
##AA62DC1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FE0
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#A37896
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa62dc;
/* rgb */ color: rgb(170, 98, 220);
/* oklch */ color: oklch(62.9% 0.186 309.3);
Tailwind
colors: {
  custom: {
    50: '#c691e7',
    500: '#aa62dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa62dc;
$custom-light: #c691e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa62dc",
  "rgb": {
    "r": 170,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 275.41,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62913,
    "c": 0.18605,
    "h": 309.3
  },
  "luminance": 0.22449
}

Semantic roles & 50–950 ramp

primary
#AA62DC
secondary
#C9E3B7
accent
#CB1A63
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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