#AB66DF#AB66DF

#AB66DF is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.8% C 0.184 H 308.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB66DF
RGBrgb(171, 102, 223)
HSLhsl(274, 65%, 64%)
HSVhsv(274, 54%, 87%)
CMYKcmyk(23.3%, 54.3%, 0%, 12.5%)
CIE-LABlab(55.57, 49.41, -51.24)
CIE-LCHlch(55.57, 71.18, 313.96°)
OKLaboklab(63.78% 0.114 -0.1439)
OKLCHoklch(63.78% 0.184 308.4)
XYZxyz(34.8626, 23.4889, 72.4950)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66DF #9ADF66
analogous
#6E66DF #AB66DF #DF66D6
triadic
#AB66DF #DFAB66 #66DFAB
tetradic
#AB66DF #DF6E66 #9ADF66 #66D6DF
square
#AB66DF #DF6E66 #9ADF66 #66D6DF
split-complementary
#AB66DF #D6DF66 #66DF6E
monochromatic
#6F23A8 #8F33D4 #AB66DF #C799EA #E3CBF4

Accessibility & contrast

On white

3.69
#AB66DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AB66DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66DF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66DF#FFFFFF#000000##000000
##AB66DF1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#5786DC
Tritanopia (blue-blind)
#A47C99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab66df;
/* rgb */ color: rgb(171, 102, 223);
/* oklch */ color: oklch(63.8% 0.184 308.4);
Tailwind
colors: {
  custom: {
    50: '#c794e9',
    500: '#ab66df',
    950: '#000000',
  },
}
SCSS
$custom: #ab66df;
$custom-light: #c794e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66df",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 274.215,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6378,
    "c": 0.18362,
    "h": 308.4
  },
  "luminance": 0.23488
}

Semantic roles & 50–950 ramp

primary
#AB66DF
secondary
#CDE6BB
accent
#CD1866
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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