#AB70BB#AB70BB

#AB70BB is a light, vivid purple. Relative luminance 0.238; OKLCH L 63.5% C 0.126 H 318.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AB70BB
RGBrgb(171, 112, 187)
HSLhsl(287, 36%, 59%)
HSVhsv(287, 40%, 73%)
CMYKcmyk(8.6%, 40.1%, 0%, 26.7%)
CIE-LABlab(55.92, 36.21, -30.24)
CIE-LCHlch(55.92, 47.18, 320.14°)
OKLaboklab(63.47% 0.0952 -0.0831)
OKLCHoklch(63.47% 0.126 318.9)
XYZxyz(31.5572, 23.8351, 49.9424)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70BB #80BB70
analogous
#8570BB #AB70BB #BB70A5
triadic
#AB70BB #BBAB70 #70BBAB
tetradic
#AB70BB #BB8570 #80BB70 #70A5BB
square
#AB70BB #BB8570 #80BB70 #70A5BB
split-complementary
#AB70BB #A5BB70 #70BB85
monochromatic
#6A3978 #8F4DA1 #AB70BB #C399CF #DCC3E2

Accessibility & contrast

On white

3.64
#AB70BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AB70BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70BB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70BB#FFFFFF#000000##000000
##AB70BB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BE
Deuteranopia (green-blind)
#7488B9
Tritanopia (blue-blind)
#AC798D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab70bb;
/* rgb */ color: rgb(171, 112, 187);
/* oklch */ color: oklch(63.5% 0.126 318.9);
Tailwind
colors: {
  custom: {
    50: '#c59acf',
    500: '#ab70bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab70bb;
$custom-light: #c59acf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70bb",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 287.2,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63467,
    "c": 0.12642,
    "h": 318.9
  },
  "luminance": 0.23834
}

Semantic roles & 50–950 ramp

primary
#AB70BB
secondary
#BBD2B5
accent
#CC5C74
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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