#AB68DF#AB68DF

#AB68DF is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.1% C 0.181 H 308.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AB68DF
RGBrgb(171, 104, 223)
HSLhsl(274, 65%, 64%)
HSVhsv(274, 53%, 87%)
CMYKcmyk(23.3%, 53.4%, 0%, 12.5%)
CIE-LABlab(55.97, 48.36, -50.60)
CIE-LCHlch(55.97, 69.99, 313.70°)
OKLaboklab(64.08% 0.1115 -0.142)
OKLCHoklch(64.08% 0.181 308.1)
XYZxyz(35.0615, 23.8867, 72.5613)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68DF #9CDF68
analogous
#7068DF #AB68DF #DF68D7
triadic
#AB68DF #DFAB68 #68DFAB
tetradic
#AB68DF #DF7068 #9CDF68 #68D7DF
square
#AB68DF #DF7068 #9CDF68 #68D7DF
split-complementary
#AB68DF #D7DF68 #68DF70
monochromatic
#6F24A9 #8F36D4 #AB68DF #C79BEA #E3CDF4

Accessibility & contrast

On white

3.63
#AB68DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB68DF#FFFFFF#000000##000000
##AB68DF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#5987DC
Tritanopia (blue-blind)
#A47D9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab68df;
/* rgb */ color: rgb(171, 104, 223);
/* oklch */ color: oklch(64.1% 0.181 308.1);
Tailwind
colors: {
  custom: {
    50: '#c795e9',
    500: '#ab68df',
    950: '#000000',
  },
}
SCSS
$custom: #ab68df;
$custom-light: #c795e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68df",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 273.782,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64076,
    "c": 0.18055,
    "h": 308.1
  },
  "luminance": 0.23886
}

Semantic roles & 50–950 ramp

primary
#AB68DF
secondary
#CFE6BD
accent
#CD1967
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB68DF

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

Preview Lab → · Contrast checker → · Palette generator →

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