#AB70BC#AB70BC

#AB70BC is a light, vivid purple. Relative luminance 0.239; OKLCH L 63.5% C 0.128 H 318.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AB70BC
RGBrgb(171, 112, 188)
HSLhsl(287, 36%, 59%)
HSVhsv(287, 40%, 74%)
CMYKcmyk(9%, 40.4%, 0%, 26.3%)
CIE-LABlab(55.97, 36.42, -30.74)
CIE-LCHlch(55.97, 47.66, 319.83°)
OKLaboklab(63.51% 0.0954 -0.0846)
OKLCHoklch(63.51% 0.128 318.5)
XYZxyz(31.6646, 23.8780, 50.5081)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70BC #81BC70
analogous
#8570BC #AB70BC #BC70A7
triadic
#AB70BC #BCAB70 #70BCAB
tetradic
#AB70BC #BC8570 #81BC70 #70A7BC
square
#AB70BC #BC8570 #81BC70 #70A7BC
split-complementary
#AB70BC #A7BC70 #70BC85
monochromatic
#6B3979 #8F4CA3 #AB70BC #C39AD0 #DCC3E3

Accessibility & contrast

On white

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

On black

5.78
#AB70BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70BC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70BC#FFFFFF#000000##000000
##AB70BC1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BF
Deuteranopia (green-blind)
#7488BA
Tritanopia (blue-blind)
#AB7A8D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab70bc;
/* rgb */ color: rgb(171, 112, 188);
/* oklch */ color: oklch(63.5% 0.128 318.5);
Tailwind
colors: {
  custom: {
    50: '#c59ad0',
    500: '#ab70bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab70bc;
$custom-light: #c59ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70bc",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 286.579,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63514,
    "c": 0.12753,
    "h": 318.5
  },
  "luminance": 0.23877
}

Semantic roles & 50–950 ramp

primary
#AB70BC
secondary
#BCD3B5
accent
#CC5C75
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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