#AB68DC#AB68DC

#AB68DC is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.9% C 0.177 H 308.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AB68DC
RGBrgb(171, 104, 220)
HSLhsl(275, 62%, 64%)
HSVhsv(275, 53%, 86%)
CMYKcmyk(22.3%, 52.7%, 0%, 13.7%)
CIE-LABlab(55.81, 47.68, -49.17)
CIE-LCHlch(55.81, 68.49, 314.12°)
OKLaboklab(63.91% 0.1112 -0.1379)
OKLCHoklch(63.91% 0.177 308.9)
XYZxyz(34.6607, 23.7264, 70.4500)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68DC #99DC68
analogous
#7168DC #AB68DC #DC68D3
triadic
#AB68DC #DCAB68 #68DCAB
tetradic
#AB68DC #DC7168 #99DC68 #68D3DC
square
#AB68DC #DC7168 #99DC68 #68D3DC
split-complementary
#AB68DC #D3DC68 #68DC71
monochromatic
#6F26A4 #8F36D0 #AB68DC #C79AE8 #E2CBF3

Accessibility & contrast

On white

3.66
#AB68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AB68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68DC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68DC#FFFFFF#000000##000000
##AB68DC1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#5B87D9
Tritanopia (blue-blind)
#A47C98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab68dc;
/* rgb */ color: rgb(171, 104, 220);
/* oklch */ color: oklch(63.9% 0.177 308.9);
Tailwind
colors: {
  custom: {
    50: '#c795e7',
    500: '#ab68dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab68dc;
$custom-light: #c795e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68dc",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 274.655,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63905,
    "c": 0.17714,
    "h": 308.9
  },
  "luminance": 0.23726
}

Semantic roles & 50–950 ramp

primary
#AB68DC
secondary
#CDE4BB
accent
#CA1B65
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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