#AA62EC#AA62EC

#AA62EC is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.9% C 0.204 H 305.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AA62EC
RGBrgb(170, 98, 236)
HSLhsl(271, 78%, 65%)
HSVhsv(271, 58%, 93%)
CMYKcmyk(28%, 58.5%, 0%, 7.5%)
CIE-LABlab(55.42, 54.20, -58.79)
CIE-LCHlch(55.42, 79.96, 312.68°)
OKLaboklab(63.88% 0.1181 -0.166)
OKLCHoklch(63.88% 0.204 305.4)
XYZxyz(36.0823, 23.3378, 81.9444)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA62EC #A4EC62
analogous
#6562EC #AA62EC #EC62E9
triadic
#AA62EC #ECAA62 #62ECAA
tetradic
#AA62EC #EC6562 #A4EC62 #62E9EC
square
#AA62EC #EC6562 #A4EC62 #62E9EC
split-complementary
#AA62EC #E9EC62 #62EC65
monochromatic
#6D17BD #8C2BE5 #AA62EC #C899F3 #E5CFF9

Accessibility & contrast

On white

3.71
#AA62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#AA62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA62EC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA62EC#FFFFFF#000000##000000
##AA62EC1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F0
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#9F7D9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa62ec;
/* rgb */ color: rgb(170, 98, 236);
/* oklch */ color: oklch(63.9% 0.204 305.4);
Tailwind
colors: {
  custom: {
    50: '#c792f3',
    500: '#aa62ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa62ec;
$custom-light: #c792f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa62ec",
  "rgb": {
    "r": 170,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 271.304,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63881,
    "c": 0.20375,
    "h": 305.4
  },
  "luminance": 0.23338
}

Semantic roles & 50–950 ramp

primary
#AA62EC
secondary
#D4ECBE
accent
#DB0B6E
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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