#AB62CF#AB62CF

#AB62CF is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.3% C 0.172 H 313.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AB62CF
RGBrgb(171, 98, 207)
HSLhsl(280, 53%, 60%)
HSVhsv(280, 53%, 81%)
CMYKcmyk(17.4%, 52.7%, 0%, 18.8%)
CIE-LABlab(53.92, 47.98, -44.81)
CIE-LCHlch(53.92, 65.65, 316.96°)
OKLaboklab(62.29% 0.1182 -0.1251)
OKLCHoklch(62.29% 0.172 313.4)
XYZxyz(32.4229, 21.8991, 61.5384)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62CF #86CF62
analogous
#7462CF #AB62CF #CF62BD
triadic
#AB62CF #CFAB62 #62CFAB
tetradic
#AB62CF #CF7462 #86CF62 #62BDCF
square
#AB62CF #CF7462 #86CF62 #62BDCF
split-complementary
#AB62CF #BDCF62 #62CF74
monochromatic
#6C2B8C #9039BB #AB62CF #C491DD #DDC0EC

Accessibility & contrast

On white

3.90
#AB62CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AB62CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62CF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62CF#FFFFFF#000000##000000
##AB62CF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#5E83CC
Tritanopia (blue-blind)
#A8748F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab62cf;
/* rgb */ color: rgb(171, 98, 207);
/* oklch */ color: oklch(62.3% 0.172 313.4);
Tailwind
colors: {
  custom: {
    50: '#c691de',
    500: '#ab62cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab62cf;
$custom-light: #c691de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62cf",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 280.183,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62285,
    "c": 0.17213,
    "h": 313.4
  },
  "luminance": 0.21898
}

Semantic roles & 50–950 ramp

primary
#AB62CF
secondary
#BFDBB1
accent
#DD4B7B
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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