#AB62BB#AB62BB

#AB62BB is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.2% C 0.151 H 320.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB62BB
RGBrgb(171, 98, 187)
HSLhsl(289, 40%, 56%)
HSVhsv(289, 48%, 73%)
CMYKcmyk(8.6%, 47.6%, 0%, 26.7%)
CIE-LABlab(52.93, 43.81, -34.90)
CIE-LCHlch(52.93, 56.02, 321.46°)
OKLaboklab(61.23% 0.1158 -0.0964)
OKLCHoklch(61.23% 0.151 320.2)
XYZxyz(30.1308, 20.9823, 49.4669)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62BB #72BB62
analogous
#7E62BB #AB62BB #BB629F
triadic
#AB62BB #BBAB62 #62BBAB
tetradic
#AB62BB #BB7E62 #72BB62 #629FBB
square
#AB62BB #BB7E62 #72BB62 #629FBB
split-complementary
#AB62BB #9FBB62 #62BB7E
monochromatic
#663171 #8C449C #AB62BB #C28DCD #D9B7E0

Accessibility & contrast

On white

4.04
#AB62BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AB62BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62BB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62BB#FFFFFF#000000##000000
##AB62BB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#AC6E86
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab62bb;
/* rgb */ color: rgb(171, 98, 187);
/* oklch */ color: oklch(61.2% 0.151 320.2);
Tailwind
colors: {
  custom: {
    50: '#c691d0',
    500: '#ab62bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab62bb;
$custom-light: #c691d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62bb",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 289.213,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6123,
    "c": 0.1507,
    "h": 320.2
  },
  "luminance": 0.20981
}

Semantic roles & 50–950 ramp

primary
#AB62BB
secondary
#B1CFAA
accent
#CF586E
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AB62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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