#AB66FB#AB66FB

#AB66FB is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.5% C 0.215 H 302.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB66FB
RGBrgb(171, 102, 251)
HSLhsl(268, 95%, 69%)
HSVhsv(268, 59%, 98%)
CMYKcmyk(31.9%, 59.4%, 0%, 1.6%)
CIE-LABlab(57.20, 55.89, -64.27)
CIE-LCHlch(57.20, 85.17, 311.01°)
OKLaboklab(65.49% 0.1144 -0.1821)
OKLCHoklch(65.49% 0.215 302.1)
XYZxyz(38.9545, 25.1256, 94.0456)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66FB #B6FB66
analogous
#666CFB #AB66FB #F566FB
triadic
#AB66FB #FBAB66 #66FBAB
tetradic
#AB66FB #FB666C #B6FB66 #66FBF5
square
#AB66FB #FB666C #B6FB66 #66FBF5
split-complementary
#AB66FB #FBF566 #6CFB66
monochromatic
#6B06E1 #8A2AF9 #AB66FB #CCA2FD #ECDDFE

Accessibility & contrast

On white

3.49
#AB66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#AB66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66FB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66FB#FFFFFF#000000##000000
##AB66FB1.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E88FF
Deuteranopia (green-blind)
#3B89F8
Tritanopia (blue-blind)
#9B85A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab66fb;
/* rgb */ color: rgb(171, 102, 251);
/* oklch */ color: oklch(65.5% 0.215 302.1);
Tailwind
colors: {
  custom: {
    50: '#c895fd',
    500: '#ab66fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab66fb;
$custom-light: #c895fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66fb",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 267.785,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65493,
    "c": 0.21503,
    "h": 302.1
  },
  "luminance": 0.25126
}

Semantic roles & 50–950 ramp

primary
#AB66FB
secondary
#E0F4C9
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AB66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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