#AB66F4#AB66F4

#AB66F4 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.0% C 0.207 H 303.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AB66F4
RGBrgb(171, 102, 244)
HSLhsl(269, 87%, 68%)
HSVhsv(269, 58%, 96%)
CMYKcmyk(29.9%, 58.2%, 0%, 4.3%)
CIE-LABlab(56.77, 54.24, -61.06)
CIE-LCHlch(56.77, 81.68, 311.61°)
OKLaboklab(65.05% 0.1145 -0.1727)
OKLCHoklch(65.05% 0.207 303.5)
XYZxyz(37.8714, 24.6924, 88.3414)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66F4 #AFF466
analogous
#6668F4 #AB66F4 #F266F4
triadic
#AB66F4 #F4AB66 #66F4AB
tetradic
#AB66F4 #F46668 #AFF466 #66F4F2
square
#AB66F4 #F46668 #AFF466 #66F4F2
split-complementary
#AB66F4 #F4F266 #68F466
monochromatic
#6D0FD1 #8C2DF0 #AB66F4 #CA9FF8 #EAD8FC

Accessibility & contrast

On white

3.54
#AB66F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AB66F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66F4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66F4#FFFFFF#000000##000000
##AB66F41.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387F9
Deuteranopia (green-blind)
#4488F1
Tritanopia (blue-blind)
#9D83A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab66f4;
/* rgb */ color: rgb(171, 102, 244);
/* oklch */ color: oklch(65.0% 0.207 303.5);
Tailwind
colors: {
  custom: {
    50: '#c894f8',
    500: '#ab66f4',
    950: '#000000',
  },
}
SCSS
$custom: #ab66f4;
$custom-light: #c894f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66f4",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 269.155,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65049,
    "c": 0.2072,
    "h": 303.5
  },
  "luminance": 0.24692
}

Semantic roles & 50–950 ramp

primary
#AB66F4
secondary
#DCF1C5
accent
#E30276
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB66F4

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

Preview Lab → · Contrast checker → · Palette generator →

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