#AB62E9#AB62E9

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

Color values

HEX#AB62E9
RGBrgb(171, 98, 233)
HSLhsl(272, 75%, 65%)
HSVhsv(272, 58%, 91%)
CMYKcmyk(26.6%, 57.9%, 0%, 8.6%)
CIE-LABlab(55.36, 53.75, -57.20)
CIE-LCHlch(55.36, 78.49, 313.22°)
OKLaboklab(63.8% 0.1194 -0.1613)
OKLCHoklch(63.8% 0.201 306.5)
XYZxyz(35.8672, 23.2768, 79.6784)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62E9 #A0E962
analogous
#6762E9 #AB62E9 #E962E4
triadic
#AB62E9 #E9AB62 #62E9AB
tetradic
#AB62E9 #E96762 #A0E962 #62E4E9
square
#AB62E9 #E96762 #A0E962 #62E4E9
split-complementary
#AB62E9 #E4E962 #62E967
monochromatic
#6F1AB7 #8E2CE1 #AB62E9 #C898F1 #E4CDF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB62E9#FFFFFF#000000##000000
##AB62E91.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)
#2A82ED
Deuteranopia (green-blind)
#4A85E6
Tritanopia (blue-blind)
#A17C9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab62e9;
/* rgb */ color: rgb(171, 98, 233);
/* oklch */ color: oklch(63.8% 0.201 306.5);
Tailwind
colors: {
  custom: {
    50: '#c892f1',
    500: '#ab62e9',
    950: '#000000',
  },
}
SCSS
$custom: #ab62e9;
$custom-light: #c892f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62e9",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 272.444,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63804,
    "c": 0.2007,
    "h": 306.5
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#AB62E9
secondary
#D2EABC
accent
#D80E6B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB62E9

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

Preview Lab → · Contrast checker → · Palette generator →

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