#AB62CB#AB62CB

#AB62CB is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.1% C 0.168 H 314.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB62CB
RGBrgb(171, 98, 203)
HSLhsl(282, 50%, 59%)
HSVhsv(282, 52%, 80%)
CMYKcmyk(15.8%, 51.7%, 0%, 20.4%)
CIE-LABlab(53.71, 47.13, -42.85)
CIE-LCHlch(53.71, 63.70, 317.72°)
OKLaboklab(62.07% 0.1178 -0.1194)
OKLCHoklch(62.07% 0.168 314.6)
XYZxyz(31.9400, 21.7060, 58.9955)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62CB #82CB62
analogous
#7762CB #AB62CB #CB62B7
triadic
#AB62CB #CBAB62 #62CBAB
tetradic
#AB62CB #CB7762 #82CB62 #62B7CB
square
#AB62CB #CB7762 #82CB62 #62B7CB
split-complementary
#AB62CB #B7CB62 #62CB77
monochromatic
#6B2C86 #8F3CB4 #AB62CB #C490DA #DCBEE9

Accessibility & contrast

On white

3.93
#AB62CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AB62CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62CB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62CB#FFFFFF#000000##000000
##AB62CB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#6182C8
Tritanopia (blue-blind)
#A9738D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab62cb;
/* rgb */ color: rgb(171, 98, 203);
/* oklch */ color: oklch(62.1% 0.168 314.6);
Tailwind
colors: {
  custom: {
    50: '#c691db',
    500: '#ab62cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab62cb;
$custom-light: #c691db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62cb",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 281.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.16779,
    "h": 314.6
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#AB62CB
secondary
#BCD9B0
accent
#DA4E79
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB62CB

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

Preview Lab → · Contrast checker → · Palette generator →

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