#AB66CA#AB66CA

#AB66CA is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.6% C 0.160 H 314.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB66CA
RGBrgb(171, 102, 202)
HSLhsl(281, 49%, 60%)
HSVhsv(281, 50%, 79%)
CMYKcmyk(15.3%, 49.5%, 0%, 20.8%)
CIE-LABlab(54.48, 44.80, -41.08)
CIE-LCHlch(54.48, 60.78, 317.48°)
OKLaboklab(62.61% 0.1122 -0.1143)
OKLCHoklch(62.61% 0.16 314.5)
XYZxyz(32.2049, 22.4258, 58.4978)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66CA #85CA66
analogous
#7966CA #AB66CA #CA66B7
triadic
#AB66CA #CAAB66 #66CAAB
tetradic
#AB66CA #CA7966 #85CA66 #66B7CA
square
#AB66CA #CA7966 #85CA66 #66B7CA
split-complementary
#AB66CA #B7CA66 #66CA79
monochromatic
#6C2F87 #903EB4 #AB66CA #C493DA #DDC1E9

Accessibility & contrast

On white

3.83
#AB66CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AB66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66CA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66CA#FFFFFF#000000##000000
##AB66CA1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#6584C7
Tritanopia (blue-blind)
#A9758F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab66ca;
/* rgb */ color: rgb(171, 102, 202);
/* oklch */ color: oklch(62.6% 0.160 314.5);
Tailwind
colors: {
  custom: {
    50: '#c694da',
    500: '#ab66ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab66ca;
$custom-light: #c694da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66ca",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 281.4,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62614,
    "c": 0.16019,
    "h": 314.5
  },
  "luminance": 0.22425
}

Semantic roles & 50–950 ramp

primary
#AB66CA
secondary
#BFD9B2
accent
#D8507A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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