#AB66EE#AB66EE

#AB66EE is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.200 H 304.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AB66EE
RGBrgb(171, 102, 238)
HSLhsl(270, 80%, 67%)
HSVhsv(270, 57%, 93%)
CMYKcmyk(28.2%, 57.1%, 0%, 6.7%)
CIE-LABlab(56.42, 52.84, -58.29)
CIE-LCHlch(56.42, 78.68, 312.19°)
OKLaboklab(64.68% 0.1145 -0.1645)
OKLCHoklch(64.68% 0.2 304.8)
XYZxyz(36.9752, 24.3339, 83.6213)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66EE #A9EE66
analogous
#6766EE #AB66EE #EE66ED
triadic
#AB66EE #EEAB66 #66EEAB
tetradic
#AB66EE #EE6766 #A9EE66 #66EDEE
square
#AB66EE #EE6766 #A9EE66 #66EDEE
split-complementary
#AB66EE #EDEE66 #66EE67
monochromatic
#6E16C4 #8D2FE8 #AB66EE #C99DF4 #E7D4FA

Accessibility & contrast

On white

3.58
#AB66EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#AB66EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66EE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66EE#FFFFFF#000000##000000
##AB66EE1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F2
Deuteranopia (green-blind)
#4A87EB
Tritanopia (blue-blind)
#9F81A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab66ee;
/* rgb */ color: rgb(171, 102, 238);
/* oklch */ color: oklch(64.7% 0.200 304.8);
Tailwind
colors: {
  custom: {
    50: '#c894f4',
    500: '#ab66ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab66ee;
$custom-light: #c894f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66ee",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 270.441,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64676,
    "c": 0.20047,
    "h": 304.8
  },
  "luminance": 0.24334
}

Semantic roles & 50–950 ramp

primary
#AB66EE
secondary
#D8EEC2
accent
#DC0971
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB66EE

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

Preview Lab → · Contrast checker → · Palette generator →

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