#AB66FD#AB66FD

#AB66FD is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.6% C 0.217 H 301.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB66FD
RGBrgb(171, 102, 253)
HSLhsl(267, 97%, 70%)
HSVhsv(267, 60%, 99%)
CMYKcmyk(32.4%, 59.7%, 0%, 0.8%)
CIE-LABlab(57.32, 56.37, -65.17)
CIE-LCHlch(57.32, 86.17, 310.86°)
OKLaboklab(65.62% 0.1143 -0.1847)
OKLCHoklch(65.62% 0.217 301.7)
XYZxyz(39.2714, 25.2524, 95.7147)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66FD #B8FD66
analogous
#666DFD #AB66FD #F666FD
triadic
#AB66FD #FDAB66 #66FDAB
tetradic
#AB66FD #FD666D #B8FD66 #66FDF6
square
#AB66FD #FD666D #B8FD66 #66FDF6
split-complementary
#AB66FD #FDF666 #6DFD66
monochromatic
#6B03E6 #8A2AFC #AB66FD #CCA2FE #EDDFFF

Accessibility & contrast

On white

3.47
#AB66FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AB66FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66FD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66FD#FFFFFF#000000##000000
##AB66FD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0289FF
Deuteranopia (green-blind)
#3889FA
Tritanopia (blue-blind)
#9B86A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab66fd;
/* rgb */ color: rgb(171, 102, 253);
/* oklch */ color: oklch(65.6% 0.217 301.7);
Tailwind
colors: {
  custom: {
    50: '#c995ff',
    500: '#ab66fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab66fd;
$custom-light: #c995ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66fd",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 267.417,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65622,
    "c": 0.21726,
    "h": 301.7
  },
  "luminance": 0.25253
}

Semantic roles & 50–950 ramp

primary
#AB66FD
secondary
#E1F5CA
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AB66FD

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

Preview Lab → · Contrast checker → · Palette generator →

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