#AB62EC#AB62EC

#AB62EC is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.0% C 0.204 H 305.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AB62EC
RGBrgb(171, 98, 236)
HSLhsl(272, 78%, 65%)
HSVhsv(272, 58%, 93%)
CMYKcmyk(27.5%, 58.5%, 0%, 7.5%)
CIE-LABlab(55.53, 54.43, -58.60)
CIE-LCHlch(55.53, 79.98, 312.89°)
OKLaboklab(63.99% 0.1194 -0.1654)
OKLCHoklch(63.99% 0.204 305.8)
XYZxyz(36.2994, 23.4497, 81.9546)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62EC #A3EC62
analogous
#6662EC #AB62EC #EC62E8
triadic
#AB62EC #ECAB62 #62ECAB
tetradic
#AB62EC #EC6662 #A3EC62 #62E8EC
square
#AB62EC #EC6662 #A3EC62 #62E8EC
split-complementary
#AB62EC #E8EC62 #62EC66
monochromatic
#6F17BD #8E2BE5 #AB62EC #C899F3 #E5CFF9

Accessibility & contrast

On white

3.69
#AB62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#AB62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62EC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62EC#FFFFFF#000000##000000
##AB62EC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2583F0
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#A07D9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab62ec;
/* rgb */ color: rgb(171, 98, 236);
/* oklch */ color: oklch(64.0% 0.204 305.8);
Tailwind
colors: {
  custom: {
    50: '#c892f3',
    500: '#ab62ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab62ec;
$custom-light: #c892f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62ec",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 271.739,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63989,
    "c": 0.204,
    "h": 305.8
  },
  "luminance": 0.23449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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