#AB66F2#AB66F2

#AB66F2 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.9% C 0.205 H 304.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB66F2
RGBrgb(171, 102, 242)
HSLhsl(270, 84%, 67%)
HSVhsv(270, 58%, 95%)
CMYKcmyk(29.3%, 57.9%, 0%, 5.1%)
CIE-LABlab(56.66, 53.78, -60.14)
CIE-LCHlch(56.66, 80.68, 311.80°)
OKLaboklab(64.92% 0.1145 -0.17)
OKLCHoklch(64.92% 0.205 304)
XYZxyz(37.5694, 24.5716, 86.7507)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66F2 #ADF266
analogous
#6667F2 #AB66F2 #F166F2
triadic
#AB66F2 #F2AB66 #66F2AB
tetradic
#AB66F2 #F26667 #ADF266 #66F2F1
square
#AB66F2 #F26667 #ADF266 #66F2F1
split-complementary
#AB66F2 #F2F166 #67F266
monochromatic
#6D11CC #8C2EED #AB66F2 #CA9EF7 #E9D7FC

Accessibility & contrast

On white

3.55
#AB66F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AB66F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66F2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66F2#FFFFFF#000000##000000
##AB66F21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#4688EF
Tritanopia (blue-blind)
#9E82A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab66f2;
/* rgb */ color: rgb(171, 102, 242);
/* oklch */ color: oklch(64.9% 0.205 304.0);
Tailwind
colors: {
  custom: {
    50: '#c894f7',
    500: '#ab66f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab66f2;
$custom-light: #c894f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66f2",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 269.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64924,
    "c": 0.20496,
    "h": 304
  },
  "luminance": 0.24571
}

Semantic roles & 50–950 ramp

primary
#AB66F2
secondary
#DAF0C4
accent
#E10574
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB66F2

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

Preview Lab → · Contrast checker → · Palette generator →

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