#AB62EA#AB62EA

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

Color values

HEX#AB62EA
RGBrgb(171, 98, 234)
HSLhsl(272, 76%, 65%)
HSVhsv(272, 58%, 92%)
CMYKcmyk(26.9%, 58.1%, 0%, 8.2%)
CIE-LABlab(55.41, 53.98, -57.67)
CIE-LCHlch(55.41, 78.99, 313.11°)
OKLaboklab(63.87% 0.1194 -0.1627)
OKLCHoklch(63.87% 0.202 306.3)
XYZxyz(36.0104, 23.3341, 80.4328)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62EA #A1EA62
analogous
#6762EA #AB62EA #EA62E5
triadic
#AB62EA #EAAB62 #62EAAB
tetradic
#AB62EA #EA6762 #A1EA62 #62E5EA
square
#AB62EA #EA6762 #A1EA62 #62E5EA
split-complementary
#AB62EA #E5EA62 #62EA67
monochromatic
#6F19B9 #8E2CE3 #AB62EA #C898F1 #E5CEF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB62EA#FFFFFF#000000##000000
##AB62EA1.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)
#2982EE
Deuteranopia (green-blind)
#4985E7
Tritanopia (blue-blind)
#A17C9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab62ea;
/* rgb */ color: rgb(171, 98, 234);
/* oklch */ color: oklch(63.9% 0.202 306.3);
Tailwind
colors: {
  custom: {
    50: '#c892f1',
    500: '#ab62ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab62ea;
$custom-light: #c892f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62ea",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 272.206,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63866,
    "c": 0.2018,
    "h": 306.3
  },
  "luminance": 0.23334
}

Semantic roles & 50–950 ramp

primary
#AB62EA
secondary
#D2EBBD
accent
#D90D6B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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