#AB62CA#AB62CA

#AB62CA is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.0% C 0.167 H 314.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB62CA
RGBrgb(171, 98, 202)
HSLhsl(282, 50%, 59%)
HSVhsv(282, 51%, 79%)
CMYKcmyk(15.3%, 51.5%, 0%, 20.8%)
CIE-LABlab(53.66, 46.92, -42.36)
CIE-LCHlch(53.66, 63.21, 317.92°)
OKLaboklab(62.01% 0.1177 -0.118)
OKLCHoklch(62.01% 0.167 314.9)
XYZxyz(31.8213, 21.6585, 58.3699)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62CA #81CA62
analogous
#7762CA #AB62CA #CA62B5
triadic
#AB62CA #CAAB62 #62CAAB
tetradic
#AB62CA #CA7762 #81CA62 #62B5CA
square
#AB62CA #CA7762 #81CA62 #62B5CA
split-complementary
#AB62CA #B5CA62 #62CA77
monochromatic
#6B2D85 #8F3CB3 #AB62CA #C390D9 #DCBEE9

Accessibility & contrast

On white

3.94
#AB62CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AB62CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62CA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62CA#FFFFFF#000000##000000
##AB62CA1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCE
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#A9728D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab62ca;
/* rgb */ color: rgb(171, 98, 202);
/* oklch */ color: oklch(62.0% 0.167 314.9);
Tailwind
colors: {
  custom: {
    50: '#c691da',
    500: '#ab62ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab62ca;
$custom-light: #c691da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62ca",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 282.115,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62012,
    "c": 0.1667,
    "h": 314.9
  },
  "luminance": 0.21658
}

Semantic roles & 50–950 ramp

primary
#AB62CA
secondary
#BCD8AF
accent
#D94F78
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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