#AA62EB#AA62EB

#AA62EB is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.8% C 0.203 H 305.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AA62EB
RGBrgb(170, 98, 235)
HSLhsl(272, 77%, 65%)
HSVhsv(272, 58%, 92%)
CMYKcmyk(27.7%, 58.3%, 0%, 7.8%)
CIE-LABlab(55.36, 53.97, -58.32)
CIE-LCHlch(55.36, 79.46, 312.78°)
OKLaboklab(63.82% 0.1181 -0.1647)
OKLCHoklch(63.82% 0.203 305.7)
XYZxyz(35.9374, 23.2798, 81.1814)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA62EB #A3EB62
analogous
#6562EB #AA62EB #EB62E7
triadic
#AA62EB #EBAA62 #62EBAA
tetradic
#AA62EB #EB6562 #A3EB62 #62E7EB
square
#AA62EB #EB6562 #A3EB62 #62E7EB
split-complementary
#AA62EB #E7EB62 #62EB65
monochromatic
#6D18BB #8D2CE4 #AA62EB #C798F2 #E5CFF9

Accessibility & contrast

On white

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

On black

5.66
#AA62EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA62EB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA62EB#FFFFFF#000000##000000
##AA62EB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2682EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#9F7D9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa62eb;
/* rgb */ color: rgb(170, 98, 235);
/* oklch */ color: oklch(63.8% 0.203 305.7);
Tailwind
colors: {
  custom: {
    50: '#c792f2',
    500: '#aa62eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa62eb;
$custom-light: #c792f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa62eb",
  "rgb": {
    "r": 170,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 271.533,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63819,
    "c": 0.20264,
    "h": 305.7
  },
  "luminance": 0.2328
}

Semantic roles & 50–950 ramp

primary
#AA62EB
secondary
#D3EBBD
accent
#DA0C6D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA62EB

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

Preview Lab → · Contrast checker → · Palette generator →

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