#AB66E7#AB66E7

#AB66E7 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.3% C 0.193 H 306.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB66E7
RGBrgb(171, 102, 231)
HSLhsl(272, 73%, 65%)
HSVhsv(272, 56%, 91%)
CMYKcmyk(26%, 55.8%, 0%, 9.4%)
CIE-LABlab(56.02, 51.23, -55.02)
CIE-LCHlch(56.02, 75.18, 312.96°)
OKLaboklab(64.25% 0.1144 -0.155)
OKLCHoklch(64.25% 0.193 306.4)
XYZxyz(35.9667, 23.9305, 78.3101)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66E7 #A2E766
analogous
#6A66E7 #AB66E7 #E766E2
triadic
#AB66E7 #E7AB66 #66E7AB
tetradic
#AB66E7 #E76A66 #A2E766 #66E2E7
square
#AB66E7 #E76A66 #A2E766 #66E2E7
split-complementary
#AB66E7 #E2E766 #66E76A
monochromatic
#6F1DB6 #8E31DF #AB66E7 #C89BEF #E5D0F8

Accessibility & contrast

On white

3.63
#AB66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AB66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66E7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66E7#FFFFFF#000000##000000
##AB66E71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3784EB
Deuteranopia (green-blind)
#5187E4
Tritanopia (blue-blind)
#A17E9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab66e7;
/* rgb */ color: rgb(171, 102, 231);
/* oklch */ color: oklch(64.3% 0.193 306.4);
Tailwind
colors: {
  custom: {
    50: '#c794ef',
    500: '#ab66e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab66e7;
$custom-light: #c794ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66e7",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 272.093,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64252,
    "c": 0.1926,
    "h": 306.4
  },
  "luminance": 0.2393
}

Semantic roles & 50–950 ramp

primary
#AB66E7
secondary
#D3EABF
accent
#D5116C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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