#AB66F7#AB66F7

#AB66F7 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.2% C 0.211 H 302.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB66F7
RGBrgb(171, 102, 247)
HSLhsl(269, 90%, 68%)
HSVhsv(269, 59%, 97%)
CMYKcmyk(30.8%, 58.7%, 0%, 3.1%)
CIE-LABlab(56.95, 54.95, -62.44)
CIE-LCHlch(56.95, 83.18, 311.35°)
OKLaboklab(65.24% 0.1145 -0.1767)
OKLCHoklch(65.24% 0.211 302.9)
XYZxyz(38.3306, 24.8761, 90.7599)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66F7 #B2F766
analogous
#6669F7 #AB66F7 #F466F7
triadic
#AB66F7 #F7AB66 #66F7AB
tetradic
#AB66F7 #F76669 #B2F766 #66F7F4
square
#AB66F7 #F76669 #B2F766 #66F7F4
split-complementary
#AB66F7 #F7F466 #69F766
monochromatic
#6C0BD7 #8B2CF4 #AB66F7 #CBA0FA #EBDAFD

Accessibility & contrast

On white

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

On black

5.98
#AB66F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66F7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66F7#FFFFFF#000000##000000
##AB66F71.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FC
Deuteranopia (green-blind)
#4088F4
Tritanopia (blue-blind)
#9D84A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab66f7;
/* rgb */ color: rgb(171, 102, 247);
/* oklch */ color: oklch(65.2% 0.211 302.9);
Tailwind
colors: {
  custom: {
    50: '#c894fb',
    500: '#ab66f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab66f7;
$custom-light: #c894fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66f7",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 268.552,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65238,
    "c": 0.21055,
    "h": 302.9
  },
  "luminance": 0.24876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB66F7

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

Preview Lab → · Contrast checker → · Palette generator →

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