#AB62EE#AB62EE

#AB62EE is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.1% C 0.206 H 305.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AB62EE
RGBrgb(171, 98, 238)
HSLhsl(271, 80%, 66%)
HSVhsv(271, 59%, 93%)
CMYKcmyk(28.2%, 58.8%, 0%, 6.7%)
CIE-LABlab(55.65, 54.89, -59.52)
CIE-LCHlch(55.65, 80.97, 312.68°)
OKLaboklab(64.11% 0.1194 -0.1681)
OKLCHoklch(64.11% 0.206 305.4)
XYZxyz(36.5915, 23.5666, 83.4934)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62EE #A5EE62
analogous
#6562EE #AB62EE #EE62EB
triadic
#AB62EE #EEAB62 #62EEAB
tetradic
#AB62EE #EE6562 #A5EE62 #62EBEE
square
#AB62EE #EE6562 #A5EE62 #62EBEE
split-complementary
#AB62EE #EBEE62 #62EE65
monochromatic
#6E15C1 #8D2BE8 #AB62EE #C999F4 #E6D0FA

Accessibility & contrast

On white

3.68
#AB62EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#AB62EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62EE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62EE#FFFFFF#000000##000000
##AB62EE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F2
Deuteranopia (green-blind)
#4586EB
Tritanopia (blue-blind)
#9F7E9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab62ee;
/* rgb */ color: rgb(171, 98, 238);
/* oklch */ color: oklch(64.1% 0.206 305.4);
Tailwind
colors: {
  custom: {
    50: '#c892f4',
    500: '#ab62ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab62ee;
$custom-light: #c892f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62ee",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 271.286,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.2062,
    "h": 305.4
  },
  "luminance": 0.23566
}

Semantic roles & 50–950 ramp

primary
#AB62EE
secondary
#D5EDBF
accent
#DD096E
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB62EE

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

Preview Lab → · Contrast checker → · Palette generator →

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