#AB68CC#AB68CC

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

Color values

HEX#AB68CC
RGBrgb(171, 104, 204)
HSLhsl(280, 50%, 60%)
HSVhsv(280, 49%, 80%)
CMYKcmyk(16.2%, 49%, 0%, 20%)
CIE-LABlab(54.99, 44.16, -41.41)
CIE-LCHlch(54.99, 60.54, 316.84°)
OKLaboklab(63.03% 0.1097 -0.1153)
OKLCHoklch(63.03% 0.159 313.6)
XYZxyz(32.6422, 22.9190, 59.8193)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68CC #89CC68
analogous
#7968CC #AB68CC #CC68BB
triadic
#AB68CC #CCAB68 #68CCAB
tetradic
#AB68CC #CC7968 #89CC68 #68BBCC
square
#AB68CC #CC7968 #89CC68 #68BBCC
split-complementary
#AB68CC #BBCC68 #68CC79
monochromatic
#6C2F8B #903EB8 #AB68CC #C496DB #DEC3EB

Accessibility & contrast

On white

3.76
#AB68CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AB68CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68CC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68CC#FFFFFF#000000##000000
##AB68CC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#6585C9
Tritanopia (blue-blind)
#A87791
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab68cc;
/* rgb */ color: rgb(171, 104, 204);
/* oklch */ color: oklch(63.0% 0.159 313.6);
Tailwind
colors: {
  custom: {
    50: '#c695dc',
    500: '#ab68cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab68cc;
$custom-light: #c695dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68cc",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 280.2,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63027,
    "c": 0.15912,
    "h": 313.6
  },
  "luminance": 0.22918
}

Semantic roles & 50–950 ramp

primary
#AB68CC
secondary
#C1DBB5
accent
#BD295A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB68CC

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

Preview Lab → · Contrast checker → · Palette generator →

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