#AB6BCB#AB6BCB

#AB6BCB is a light, vivid purple. Relative luminance 0.235; OKLCH L 63.4% C 0.153 H 313.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB6BCB
RGBrgb(171, 107, 203)
HSLhsl(280, 48%, 61%)
HSVhsv(280, 47%, 80%)
CMYKcmyk(15.8%, 47.3%, 0%, 20.4%)
CIE-LABlab(55.57, 42.33, -39.93)
CIE-LCHlch(55.57, 58.19, 316.67°)
OKLaboklab(63.44% 0.1053 -0.111)
OKLCHoklch(63.44% 0.153 313.5)
XYZxyz(32.8300, 23.4859, 59.2921)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BCB #8BCB6B
analogous
#7B6BCB #AB6BCB #CB6BBB
triadic
#AB6BCB #CBAB6B #6BCBAB
tetradic
#AB6BCB #CB7B6B #8BCB6B #6BBBCB
square
#AB6BCB #CB7B6B #8BCB6B #6BBBCB
split-complementary
#AB6BCB #BBCB6B #6BCB7B
monochromatic
#6D318B #9041B8 #AB6BCB #C598DB #DEC6EB

Accessibility & contrast

On white

3.69
#AB6BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AB6BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BCB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BCB#FFFFFF#000000##000000
##AB6BCB1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#6987C8
Tritanopia (blue-blind)
#A87A91
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab6bcb;
/* rgb */ color: rgb(171, 107, 203);
/* oklch */ color: oklch(63.4% 0.153 313.5);
Tailwind
colors: {
  custom: {
    50: '#c697db',
    500: '#ab6bcb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bcb;
$custom-light: #c697db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bcb",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 280,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63443,
    "c": 0.15303,
    "h": 313.5
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#AB6BCB
secondary
#C3DBB7
accent
#BB2A5B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB6BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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