#AB66CF#AB66CF

#AB66CF is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.9% C 0.166 H 312.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AB66CF
RGBrgb(171, 102, 207)
HSLhsl(279, 52%, 61%)
HSVhsv(279, 51%, 81%)
CMYKcmyk(17.4%, 50.7%, 0%, 18.8%)
CIE-LABlab(54.73, 45.88, -43.53)
CIE-LCHlch(54.73, 63.24, 316.50°)
OKLaboklab(62.88% 0.1128 -0.1214)
OKLCHoklch(62.88% 0.166 312.9)
XYZxyz(32.8065, 22.6664, 61.6663)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66CF #8ACF66
analogous
#7666CF #AB66CF #CF66BE
triadic
#AB66CF #CFAB66 #66CFAB
tetradic
#AB66CF #CF7666 #8ACF66 #66BECF
square
#AB66CF #CF7666 #8ACF66 #66BECF
split-complementary
#AB66CF #BECF66 #66CF76
monochromatic
#6D2D8E #903BBD #AB66CF #C595DE #DEC3EC

Accessibility & contrast

On white

3.80
#AB66CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#AB66CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66CF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66CF#FFFFFF#000000##000000
##AB66CF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD3
Deuteranopia (green-blind)
#6285CC
Tritanopia (blue-blind)
#A87791
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab66cf;
/* rgb */ color: rgb(171, 102, 207);
/* oklch */ color: oklch(62.9% 0.166 312.9);
Tailwind
colors: {
  custom: {
    50: '#c694de',
    500: '#ab66cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab66cf;
$custom-light: #c694de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66cf",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 279.429,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62882,
    "c": 0.16572,
    "h": 312.9
  },
  "luminance": 0.22666
}

Semantic roles & 50–950 ramp

primary
#AB66CF
secondary
#C2DCB4
accent
#C0265B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB66CF

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

Preview Lab → · Contrast checker → · Palette generator →

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