#AB62CC#AB62CC

#AB62CC is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.1% C 0.169 H 314.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB62CC
RGBrgb(171, 98, 204)
HSLhsl(281, 51%, 59%)
HSVhsv(281, 52%, 80%)
CMYKcmyk(16.2%, 52%, 0%, 20%)
CIE-LABlab(53.76, 47.34, -43.34)
CIE-LCHlch(53.76, 64.18, 317.52°)
OKLaboklab(62.12% 0.1179 -0.1209)
OKLCHoklch(62.12% 0.169 314.3)
XYZxyz(32.0596, 21.7538, 59.6251)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62CC #83CC62
analogous
#7662CC #AB62CC #CC62B8
triadic
#AB62CC #CCAB62 #62CCAB
tetradic
#AB62CC #CC7662 #83CC62 #62B8CC
square
#AB62CC #CC7662 #83CC62 #62B8CC
split-complementary
#AB62CC #B8CC62 #62CC76
monochromatic
#6B2C88 #903BB6 #AB62CC #C490DB #DCBEEA

Accessibility & contrast

On white

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

On black

5.35
#AB62CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62CC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62CC#FFFFFF#000000##000000
##AB62CC1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CD0
Deuteranopia (green-blind)
#6082C9
Tritanopia (blue-blind)
#A8738E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab62cc;
/* rgb */ color: rgb(171, 98, 204);
/* oklch */ color: oklch(62.1% 0.169 314.3);
Tailwind
colors: {
  custom: {
    50: '#c691dc',
    500: '#ab62cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab62cc;
$custom-light: #c691dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62cc",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 281.321,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62121,
    "c": 0.16887,
    "h": 314.3
  },
  "luminance": 0.21753
}

Semantic roles & 50–950 ramp

primary
#AB62CC
secondary
#BDDAB0
accent
#DA4D79
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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