#AB66EA#AB66EA

#AB66EA is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.196 H 305.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AB66EA
RGBrgb(171, 102, 234)
HSLhsl(271, 76%, 66%)
HSVhsv(271, 56%, 92%)
CMYKcmyk(26.9%, 56.4%, 0%, 8.2%)
CIE-LABlab(56.19, 51.92, -56.43)
CIE-LCHlch(56.19, 76.68, 312.62°)
OKLaboklab(64.43% 0.1145 -0.1591)
OKLCHoklch(64.43% 0.196 305.7)
XYZxyz(36.3941, 24.1015, 80.5607)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66EA #A5EA66
analogous
#6966EA #AB66EA #EA66E7
triadic
#AB66EA #EAAB66 #66EAAB
tetradic
#AB66EA #EA6966 #A5EA66 #66E7EA
square
#AB66EA #EA6966 #A5EA66 #66E7EA
split-complementary
#AB66EA #E7EA66 #66EA69
monochromatic
#6E1ABC #8D30E3 #AB66EA #C99CF1 #E6D2F9

Accessibility & contrast

On white

3.61
#AB66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#AB66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66EA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66EA#FFFFFF#000000##000000
##AB66EA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EE
Deuteranopia (green-blind)
#4E87E7
Tritanopia (blue-blind)
#A17F9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab66ea;
/* rgb */ color: rgb(171, 102, 234);
/* oklch */ color: oklch(64.4% 0.196 305.7);
Tailwind
colors: {
  custom: {
    50: '#c794f1',
    500: '#ab66ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab66ea;
$custom-light: #c794f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66ea",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 271.364,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64432,
    "c": 0.19598,
    "h": 305.7
  },
  "luminance": 0.24101
}

Semantic roles & 50–950 ramp

primary
#AB66EA
secondary
#D5ECC0
accent
#D80D6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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