#AB66FF#AB66FF

#AB66FF is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.8% C 0.219 H 301.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AB66FF
RGBrgb(171, 102, 255)
HSLhsl(267, 100%, 70%)
HSVhsv(267, 60%, 100%)
CMYKcmyk(32.9%, 60%, 0%, 0%)
CIE-LABlab(57.44, 56.84, -66.08)
CIE-LCHlch(57.44, 87.17, 310.70°)
OKLaboklab(65.75% 0.1143 -0.1874)
OKLCHoklch(65.75% 0.219 301.4)
XYZxyz(39.5917, 25.3805, 97.4014)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66FF #BAFF66
analogous
#666DFF #AB66FF #F866FF
triadic
#AB66FF #FFAB66 #66FFAB
tetradic
#AB66FF #FF666D #BAFF66 #66FFF8
square
#AB66FF #FF666D #BAFF66 #66FFF8
split-complementary
#AB66FF #FFF866 #6DFF66
monochromatic
#6A00EB #8929FF #AB66FF #CDA3FF #EEE0FF

Accessibility & contrast

On white

3.46
#AB66FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AB66FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66FF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66FF#FFFFFF#000000##000000
##AB66FF1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#3589FC
Tritanopia (blue-blind)
#9A86A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab66ff;
/* rgb */ color: rgb(171, 102, 255);
/* oklch */ color: oklch(65.8% 0.219 301.4);
Tailwind
colors: {
  custom: {
    50: '#c995ff',
    500: '#ab66ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab66ff;
$custom-light: #c995ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66ff",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 267.059,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.65751,
    "c": 0.21949,
    "h": 301.4
  },
  "luminance": 0.25381
}

Semantic roles & 50–950 ramp

primary
#AB66FF
secondary
#E2F6CB
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AB66FF

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

Preview Lab → · Contrast checker → · Palette generator →

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