#AB68CB#AB68CB

#AB68CB is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.0% C 0.158 H 313.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB68CB
RGBrgb(171, 104, 203)
HSLhsl(281, 49%, 60%)
HSVhsv(281, 49%, 80%)
CMYKcmyk(15.8%, 48.8%, 0%, 20.4%)
CIE-LABlab(54.94, 43.95, -40.92)
CIE-LCHlch(54.94, 60.05, 317.04°)
OKLaboklab(62.97% 0.1096 -0.1139)
OKLCHoklch(62.97% 0.158 313.9)
XYZxyz(32.5226, 22.8712, 59.1897)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68CB #88CB68
analogous
#7968CB #AB68CB #CB68B9
triadic
#AB68CB #CBAB68 #68CBAB
tetradic
#AB68CB #CB7968 #88CB68 #68B9CB
square
#AB68CB #CB7968 #88CB68 #68B9CB
split-complementary
#AB68CB #B9CB68 #68CB79
monochromatic
#6C2F89 #903FB7 #AB68CB #C496DB #DEC3EA

Accessibility & contrast

On white

3.77
#AB68CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AB68CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68CB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68CB#FFFFFF#000000##000000
##AB68CB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CE
Deuteranopia (green-blind)
#6685C8
Tritanopia (blue-blind)
#A87790
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab68cb;
/* rgb */ color: rgb(171, 104, 203);
/* oklch */ color: oklch(63.0% 0.158 313.9);
Tailwind
colors: {
  custom: {
    50: '#c695db',
    500: '#ab68cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab68cb;
$custom-light: #c695db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68cb",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 280.606,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62974,
    "c": 0.158,
    "h": 313.9
  },
  "luminance": 0.2287
}

Semantic roles & 50–950 ramp

primary
#AB68CB
secondary
#C1DAB4
accent
#BC2959
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB68CB

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

Preview Lab → · Contrast checker → · Palette generator →

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