#AB66DC#AB66DC

#AB66DC is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.180 H 309.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AB66DC
RGBrgb(171, 102, 220)
HSLhsl(275, 63%, 63%)
HSVhsv(275, 54%, 86%)
CMYKcmyk(22.3%, 53.6%, 0%, 13.7%)
CIE-LABlab(55.41, 48.74, -49.81)
CIE-LCHlch(55.41, 69.69, 314.38°)
OKLaboklab(63.61% 0.1139 -0.1397)
OKLCHoklch(63.61% 0.18 309.2)
XYZxyz(34.4617, 23.3285, 70.3837)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66DC #97DC66
analogous
#7066DC #AB66DC #DC66D2
triadic
#AB66DC #DCAB66 #66DCAB
tetradic
#AB66DC #DC7066 #97DC66 #66D2DC
square
#AB66DC #DC7066 #97DC66 #66D2DC
split-complementary
#AB66DC #D2DC66 #66DC70
monochromatic
#6E25A2 #9034D1 #AB66DC #C698E7 #E2CAF3

Accessibility & contrast

On white

3.71
#AB66DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#AB66DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66DC#FFFFFF#000000##000000
##AB66DC1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E0
Deuteranopia (green-blind)
#5986D9
Tritanopia (blue-blind)
#A47B97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab66dc;
/* rgb */ color: rgb(171, 102, 220);
/* oklch */ color: oklch(63.6% 0.180 309.2);
Tailwind
colors: {
  custom: {
    50: '#c794e7',
    500: '#ab66dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab66dc;
$custom-light: #c794e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66dc",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 275.085,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63607,
    "c": 0.18025,
    "h": 309.2
  },
  "luminance": 0.23328
}

Semantic roles & 50–950 ramp

primary
#AB66DC
secondary
#CBE4BA
accent
#CB1B64
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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