#AB62EB#AB62EB

#AB62EB is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.9% C 0.203 H 306.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AB62EB
RGBrgb(171, 98, 235)
HSLhsl(272, 77%, 65%)
HSVhsv(272, 58%, 92%)
CMYKcmyk(27.2%, 58.3%, 0%, 7.8%)
CIE-LABlab(55.47, 54.20, -58.13)
CIE-LCHlch(55.47, 79.48, 313.00°)
OKLaboklab(63.93% 0.1194 -0.1641)
OKLCHoklch(63.93% 0.203 306)
XYZxyz(36.1545, 23.3918, 81.1916)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62EB #A2EB62
analogous
#6762EB #AB62EB #EB62E6
triadic
#AB62EB #EBAB62 #62EBAB
tetradic
#AB62EB #EB6762 #A2EB62 #62E6EB
square
#AB62EB #EB6762 #A2EB62 #62E6EB
split-complementary
#AB62EB #E6EB62 #62EB67
monochromatic
#6F18BB #8E2CE4 #AB62EB #C898F2 #E5CFF9

Accessibility & contrast

On white

3.70
#AB62EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AB62EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62EB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62EB#FFFFFF#000000##000000
##AB62EB1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#A07D9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab62eb;
/* rgb */ color: rgb(171, 98, 235);
/* oklch */ color: oklch(63.9% 0.203 306.0);
Tailwind
colors: {
  custom: {
    50: '#c892f2',
    500: '#ab62eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab62eb;
$custom-light: #c892f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62eb",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 271.971,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63927,
    "c": 0.2029,
    "h": 306
  },
  "luminance": 0.23391
}

Semantic roles & 50–950 ramp

primary
#AB62EB
secondary
#D3EBBD
accent
#DA0C6C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB62EB

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

Preview Lab → · Contrast checker → · Palette generator →

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