#AB6EE2#AB6EE2

#AB6EE2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.2% C 0.175 H 306.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB6EE2
RGBrgb(171, 110, 226)
HSLhsl(272, 67%, 66%)
HSVhsv(272, 51%, 89%)
CMYKcmyk(24.3%, 51.3%, 0%, 11.4%)
CIE-LABlab(57.37, 45.84, -50.07)
CIE-LCHlch(57.37, 67.89, 312.48°)
OKLaboklab(65.16% 0.1038 -0.1405)
OKLCHoklch(65.16% 0.175 306.4)
XYZxyz(36.0952, 25.3011, 74.9188)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EE2 #A5E26E
analogous
#716EE2 #AB6EE2 #E26EDF
triadic
#AB6EE2 #E2AB6E #6EE2AB
tetradic
#AB6EE2 #E2716E #A5E26E #6EDFE2
square
#AB6EE2 #E2716E #A5E26E #6EDFE2
split-complementary
#AB6EE2 #DFE26E #6EE271
monochromatic
#6E24B2 #8D3BD8 #AB6EE2 #C9A1EC #E6D4F6

Accessibility & contrast

On white

3.47
#AB6EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AB6EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EE2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EE2#FFFFFF#000000##000000
##AB6EE21.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B88E6
Deuteranopia (green-blind)
#5D8ADF
Tritanopia (blue-blind)
#A2839E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6ee2;
/* rgb */ color: rgb(171, 110, 226);
/* oklch */ color: oklch(65.2% 0.175 306.4);
Tailwind
colors: {
  custom: {
    50: '#c799eb',
    500: '#ab6ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ee2;
$custom-light: #c799eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ee2",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 271.552,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65158,
    "c": 0.17469,
    "h": 306.4
  },
  "luminance": 0.25301
}

Semantic roles & 50–950 ramp

primary
#AB6EE2
secondary
#D5E9C3
accent
#CF176E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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