#AB62CD#AB62CD

#AB62CD is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.2% C 0.170 H 314.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB62CD
RGBrgb(171, 98, 205)
HSLhsl(281, 52%, 59%)
HSVhsv(281, 52%, 80%)
CMYKcmyk(16.6%, 52.2%, 0%, 19.6%)
CIE-LABlab(53.82, 47.55, -43.83)
CIE-LCHlch(53.82, 64.67, 317.33°)
OKLaboklab(62.18% 0.118 -0.1223)
OKLCHoklch(62.18% 0.17 314)
XYZxyz(32.1799, 21.8019, 60.2588)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62CD #84CD62
analogous
#7662CD #AB62CD #CD62B9
triadic
#AB62CD #CDAB62 #62CDAB
tetradic
#AB62CD #CD7662 #84CD62 #62B9CD
square
#AB62CD #CD7662 #84CD62 #62B9CD
split-complementary
#AB62CD #B9CD62 #62CD76
monochromatic
#6B2C89 #903AB7 #AB62CD #C490DC #DDBFEB

Accessibility & contrast

On white

3.92
#AB62CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AB62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62CD#FFFFFF#000000##000000
##AB62CD1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD1
Deuteranopia (green-blind)
#5F83CA
Tritanopia (blue-blind)
#A8738E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab62cd;
/* rgb */ color: rgb(171, 98, 205);
/* oklch */ color: oklch(62.2% 0.170 314.0);
Tailwind
colors: {
  custom: {
    50: '#c691dd',
    500: '#ab62cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab62cd;
$custom-light: #c691dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62cd",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 280.935,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62175,
    "c": 0.16995,
    "h": 314
  },
  "luminance": 0.21801
}

Semantic roles & 50–950 ramp

primary
#AB62CD
secondary
#BEDAB1
accent
#DB4D7A
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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