#AB66F6#AB66F6

#AB66F6 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.2% C 0.209 H 303.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB66F6
RGBrgb(171, 102, 246)
HSLhsl(269, 89%, 68%)
HSVhsv(269, 59%, 96%)
CMYKcmyk(30.5%, 58.5%, 0%, 3.5%)
CIE-LABlab(56.89, 54.71, -61.98)
CIE-LCHlch(56.89, 82.68, 311.44°)
OKLaboklab(65.17% 0.1145 -0.1754)
OKLCHoklch(65.17% 0.209 303.1)
XYZxyz(38.1767, 24.8145, 89.9493)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66F6 #B1F666
analogous
#6669F6 #AB66F6 #F366F6
triadic
#AB66F6 #F6AB66 #66F6AB
tetradic
#AB66F6 #F66669 #B1F666 #66F6F3
square
#AB66F6 #F66669 #B1F666 #66F6F3
split-complementary
#AB66F6 #F6F366 #69F666
monochromatic
#6D0DD5 #8B2CF3 #AB66F6 #CBA0F9 #EADAFD

Accessibility & contrast

On white

3.52
#AB66F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AB66F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66F6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66F6#FFFFFF#000000##000000
##AB66F61.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E87FB
Deuteranopia (green-blind)
#4288F3
Tritanopia (blue-blind)
#9D83A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab66f6;
/* rgb */ color: rgb(171, 102, 246);
/* oklch */ color: oklch(65.2% 0.209 303.1);
Tailwind
colors: {
  custom: {
    50: '#c894fa',
    500: '#ab66f6',
    950: '#000000',
  },
}
SCSS
$custom: #ab66f6;
$custom-light: #c894fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66f6",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 268.75,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65174,
    "c": 0.20944,
    "h": 303.1
  },
  "luminance": 0.24814
}

Semantic roles & 50–950 ramp

primary
#AB66F6
secondary
#DDF2C6
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB66F6

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

Preview Lab → · Contrast checker → · Palette generator →

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