#AB66F8#AB66F8

#AB66F8 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.3% C 0.212 H 302.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB66F8
RGBrgb(171, 102, 248)
HSLhsl(268, 91%, 69%)
HSVhsv(268, 59%, 97%)
CMYKcmyk(31%, 58.9%, 0%, 2.7%)
CIE-LABlab(57.02, 55.18, -62.90)
CIE-LCHlch(57.02, 83.67, 311.26°)
OKLaboklab(65.3% 0.1145 -0.1781)
OKLCHoklch(65.3% 0.212 302.7)
XYZxyz(38.4853, 24.9380, 91.5747)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66F8 #B3F866
analogous
#666AF8 #AB66F8 #F466F8
triadic
#AB66F8 #F8AB66 #66F8AB
tetradic
#AB66F8 #F8666A #B3F866 #66F8F4
square
#AB66F8 #F8666A #B3F866 #66F8F4
split-complementary
#AB66F8 #F8F466 #6AF866
monochromatic
#6C0ADA #8B2BF5 #AB66F8 #CBA1FB #EBDBFD

Accessibility & contrast

On white

3.51
#AB66F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AB66F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66F8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66F8#FFFFFF#000000##000000
##AB66F81.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1987FD
Deuteranopia (green-blind)
#3F88F5
Tritanopia (blue-blind)
#9C84A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab66f8;
/* rgb */ color: rgb(171, 102, 248);
/* oklch */ color: oklch(65.3% 0.212 302.7);
Tailwind
colors: {
  custom: {
    50: '#c894fb',
    500: '#ab66f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab66f8;
$custom-light: #c894fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66f8",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 268.356,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65301,
    "c": 0.21168,
    "h": 302.7
  },
  "luminance": 0.24938
}

Semantic roles & 50–950 ramp

primary
#AB66F8
secondary
#DEF3C7
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB66F8

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

Preview Lab → · Contrast checker → · Palette generator →

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