#AB66DD#AB66DD

#AB66DD is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.7% C 0.181 H 308.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AB66DD
RGBrgb(171, 102, 221)
HSLhsl(275, 64%, 63%)
HSVhsv(275, 54%, 87%)
CMYKcmyk(22.6%, 53.8%, 0%, 13.3%)
CIE-LABlab(55.46, 48.96, -50.29)
CIE-LCHlch(55.46, 70.19, 314.23°)
OKLaboklab(63.66% 0.1139 -0.1411)
OKLCHoklch(63.66% 0.181 308.9)
XYZxyz(34.5946, 23.3817, 71.0833)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66DD #98DD66
analogous
#6F66DD #AB66DD #DD66D3
triadic
#AB66DD #DDAB66 #66DDAB
tetradic
#AB66DD #DD6F66 #98DD66 #66D3DD
square
#AB66DD #DD6F66 #98DD66 #66D3DD
split-complementary
#AB66DD #D3DD66 #66DD6F
monochromatic
#6E24A4 #9034D2 #AB66DD #C698E8 #E2CAF3

Accessibility & contrast

On white

3.70
#AB66DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AB66DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66DD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66DD#FFFFFF#000000##000000
##AB66DD1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#5986DA
Tritanopia (blue-blind)
#A47B98
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab66dd;
/* rgb */ color: rgb(171, 102, 221);
/* oklch */ color: oklch(63.7% 0.181 308.9);
Tailwind
colors: {
  custom: {
    50: '#c794e8',
    500: '#ab66dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab66dd;
$custom-light: #c794e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66dd",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 274.79,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.18137,
    "h": 308.9
  },
  "luminance": 0.23381
}

Semantic roles & 50–950 ramp

primary
#AB66DD
secondary
#CCE5BA
accent
#CB1A65
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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