#AB68EC#AB68EC

#AB68EC is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.8% C 0.195 H 305.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB68EC
RGBrgb(171, 104, 236)
HSLhsl(270, 78%, 67%)
HSVhsv(270, 56%, 93%)
CMYKcmyk(27.5%, 55.9%, 0%, 7.5%)
CIE-LABlab(56.70, 51.34, -56.73)
CIE-LCHlch(56.70, 76.51, 312.14°)
OKLaboklab(64.84% 0.112 -0.16)
OKLCHoklch(64.84% 0.195 305)
XYZxyz(36.8819, 24.6149, 82.1488)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68EC #A9EC68
analogous
#6968EC #AB68EC #EC68EB
triadic
#AB68EC #ECAB68 #68ECAB
tetradic
#AB68EC #EC6968 #A9EC68 #68EBEC
square
#AB68EC #EC6968 #A9EC68 #68EBEC
split-complementary
#AB68EC #EBEC68 #68EC69
monochromatic
#6E18C1 #8D32E5 #AB68EC #C99EF3 #E7D5FA

Accessibility & contrast

On white

3.55
#AB68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#AB68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68EC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68EC#FFFFFF#000000##000000
##AB68EC1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F0
Deuteranopia (green-blind)
#4F88E9
Tritanopia (blue-blind)
#A081A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab68ec;
/* rgb */ color: rgb(171, 104, 236);
/* oklch */ color: oklch(64.8% 0.195 305.0);
Tailwind
colors: {
  custom: {
    50: '#c796f3',
    500: '#ab68ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab68ec;
$custom-light: #c796f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68ec",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 270.455,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64843,
    "c": 0.19529,
    "h": 305
  },
  "luminance": 0.24615
}

Semantic roles & 50–950 ramp

primary
#AB68EC
secondary
#D8EDC3
accent
#DA0C71
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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