#AB6EE6#AB6EE6

#AB6EE6 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.4% C 0.179 H 305.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB6EE6
RGBrgb(171, 110, 230)
HSLhsl(271, 71%, 67%)
HSVhsv(271, 52%, 90%)
CMYKcmyk(25.7%, 52.2%, 0%, 9.8%)
CIE-LABlab(57.58, 46.77, -51.97)
CIE-LCHlch(57.58, 69.91, 311.98°)
OKLaboklab(65.39% 0.1041 -0.1461)
OKLCHoklch(65.39% 0.179 305.5)
XYZxyz(36.6504, 25.5232, 77.8432)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EE6 #A9E66E
analogous
#6F6EE6 #AB6EE6 #E66EE5
triadic
#AB6EE6 #E6AB6E #6EE6AB
tetradic
#AB6EE6 #E66F6E #A9E66E #6EE5E6
square
#AB6EE6 #E66F6E #A9E66E #6EE5E6
split-complementary
#AB6EE6 #E5E66E #6EE66F
monochromatic
#6E20BA #8D3ADD #AB6EE6 #C9A2EF #E7D6F8

Accessibility & contrast

On white

3.44
#AB6EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AB6EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EE6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EE6#FFFFFF#000000##000000
##AB6EE61.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888EA
Deuteranopia (green-blind)
#5A8BE3
Tritanopia (blue-blind)
#A184A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6ee6;
/* rgb */ color: rgb(171, 110, 230);
/* oklch */ color: oklch(65.4% 0.179 305.5);
Tailwind
colors: {
  custom: {
    50: '#c799ee',
    500: '#ab6ee6',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ee6;
$custom-light: #c799ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ee6",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 230
  },
  "hsl": {
    "h": 270.5,
    "s": 70.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65386,
    "c": 0.17936,
    "h": 305.5
  },
  "luminance": 0.25523
}

Semantic roles & 50–950 ramp

primary
#AB6EE6
secondary
#D8EBC5
accent
#D31371
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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