#AB66EF#AB66EF

#AB66EF is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.7% C 0.202 H 304.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB66EF
RGBrgb(171, 102, 239)
HSLhsl(270, 81%, 67%)
HSVhsv(270, 57%, 94%)
CMYKcmyk(28.5%, 57.3%, 0%, 6.3%)
CIE-LABlab(56.48, 53.08, -58.75)
CIE-LCHlch(56.48, 79.18, 312.09°)
OKLaboklab(64.74% 0.1145 -0.1659)
OKLCHoklch(64.74% 0.202 304.6)
XYZxyz(37.1225, 24.3928, 84.3972)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66EF #AAEF66
analogous
#6766EF #AB66EF #EF66EF
triadic
#AB66EF #EFAB66 #66EFAB
tetradic
#AB66EF #EF6766 #AAEF66 #66EFEF
square
#AB66EF #EF6766 #AAEF66 #66EFEF
split-complementary
#AB66EF #EFEF66 #66EF67
monochromatic
#6E15C6 #8D2FE9 #AB66EF #C99DF5 #E8D5FB

Accessibility & contrast

On white

3.57
#AB66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AB66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66EF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66EF#FFFFFF#000000##000000
##AB66EF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F3
Deuteranopia (green-blind)
#4988EC
Tritanopia (blue-blind)
#9F81A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab66ef;
/* rgb */ color: rgb(171, 102, 239);
/* oklch */ color: oklch(64.7% 0.202 304.6);
Tailwind
colors: {
  custom: {
    50: '#c894f5',
    500: '#ab66ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab66ef;
$custom-light: #c894f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66ef",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 270.219,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.20159,
    "h": 304.6
  },
  "luminance": 0.24393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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