#AB62ED#AB62ED

#AB62ED is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.1% C 0.205 H 305.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB62ED
RGBrgb(171, 98, 237)
HSLhsl(272, 79%, 66%)
HSVhsv(272, 59%, 93%)
CMYKcmyk(27.8%, 58.6%, 0%, 7.1%)
CIE-LABlab(55.59, 54.66, -59.06)
CIE-LCHlch(55.59, 80.47, 312.79°)
OKLaboklab(64.05% 0.1194 -0.1668)
OKLCHoklch(64.05% 0.205 305.6)
XYZxyz(36.4450, 23.5080, 82.7219)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62ED #A4ED62
analogous
#6562ED #AB62ED #ED62E9
triadic
#AB62ED #EDAB62 #62EDAB
tetradic
#AB62ED #ED6562 #A4ED62 #62E9ED
square
#AB62ED #ED6562 #A4ED62 #62E9ED
split-complementary
#AB62ED #E9ED62 #62ED65
monochromatic
#6F16BF #8E2BE7 #AB62ED #C899F3 #E6D0FA

Accessibility & contrast

On white

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

On black

5.70
#AB62ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62ED
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62ED#FFFFFF#000000##000000
##AB62ED1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F1
Deuteranopia (green-blind)
#4685EA
Tritanopia (blue-blind)
#A07D9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab62ed;
/* rgb */ color: rgb(171, 98, 237);
/* oklch */ color: oklch(64.1% 0.205 305.6);
Tailwind
colors: {
  custom: {
    50: '#c892f3',
    500: '#ab62ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab62ed;
$custom-light: #c892f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62ed",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 271.511,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64052,
    "c": 0.2051,
    "h": 305.6
  },
  "luminance": 0.23508
}

Semantic roles & 50–950 ramp

primary
#AB62ED
secondary
#D4EDBE
accent
#DC0A6D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB62ED

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

Preview Lab → · Contrast checker → · Palette generator →

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