#AB6FE6#AB6FE6

#AB6FE6 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.178 H 305.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB6FE6
RGBrgb(171, 111, 230)
HSLhsl(270, 70%, 67%)
HSVhsv(270, 52%, 90%)
CMYKcmyk(25.7%, 51.7%, 0%, 9.8%)
CIE-LABlab(57.79, 46.23, -51.64)
CIE-LCHlch(57.79, 69.31, 311.84°)
OKLaboklab(65.54% 0.1028 -0.1451)
OKLCHoklch(65.54% 0.178 305.3)
XYZxyz(36.7589, 25.7402, 77.8794)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FE6 #AAE66F
analogous
#706FE6 #AB6FE6 #E66FE6
triadic
#AB6FE6 #E6AB6F #6FE6AB
tetradic
#AB6FE6 #E6706F #AAE66F #6FE6E6
square
#AB6FE6 #E6706F #AAE66F #6FE6E6
split-complementary
#AB6FE6 #E6E66F #6FE670
monochromatic
#6E20BA #8D3BDD #AB6FE6 #C9A3EF #E8D7F8

Accessibility & contrast

On white

3.42
#AB6FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AB6FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FE6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FE6#FFFFFF#000000##000000
##AB6FE61.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4989EA
Deuteranopia (green-blind)
#5C8BE3
Tritanopia (blue-blind)
#A185A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6fe6;
/* rgb */ color: rgb(171, 111, 230);
/* oklch */ color: oklch(65.5% 0.178 305.3);
Tailwind
colors: {
  custom: {
    50: '#c79aee',
    500: '#ab6fe6',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fe6;
$custom-light: #c79aee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fe6",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 270.252,
    "s": 70.414,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65539,
    "c": 0.17781,
    "h": 305.3
  },
  "luminance": 0.2574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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