#AB68D8#AB68D8

#AB68D8 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.7% C 0.173 H 310.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB68D8
RGBrgb(171, 104, 216)
HSLhsl(276, 59%, 63%)
HSVhsv(276, 52%, 85%)
CMYKcmyk(20.8%, 51.9%, 0%, 15.3%)
CIE-LABlab(55.60, 46.79, -47.25)
CIE-LCHlch(55.60, 66.49, 314.72°)
OKLaboklab(63.68% 0.1109 -0.1323)
OKLCHoklch(63.68% 0.173 310)
XYZxyz(34.1372, 23.5170, 67.6933)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68D8 #95D868
analogous
#7368D8 #AB68D8 #D868CD
triadic
#AB68D8 #D8AB68 #68D8AB
tetradic
#AB68D8 #D87368 #95D868 #68CDD8
square
#AB68D8 #D87368 #95D868 #68CDD8
split-complementary
#AB68D8 #CDD868 #68D873
monochromatic
#6E299D #9037CB #AB68D8 #C699E5 #E1C9F1

Accessibility & contrast

On white

3.68
#AB68D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB68D8#FFFFFF#000000##000000
##AB68D81.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DC
Deuteranopia (green-blind)
#5E86D5
Tritanopia (blue-blind)
#A57B96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab68d8;
/* rgb */ color: rgb(171, 104, 216);
/* oklch */ color: oklch(63.7% 0.173 310.0);
Tailwind
colors: {
  custom: {
    50: '#c695e4',
    500: '#ab68d8',
    950: '#000000',
  },
}
SCSS
$custom: #ab68d8;
$custom-light: #c695e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68d8",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 216
  },
  "hsl": {
    "h": 275.893,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63679,
    "c": 0.17262,
    "h": 310
  },
  "luminance": 0.23516
}

Semantic roles & 50–950 ramp

primary
#AB68D8
secondary
#CAE2BA
accent
#C71F62
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB68D8

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

Preview Lab → · Contrast checker → · Palette generator →

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