#AB6FF0#AB6FF0

#AB6FF0 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.1% C 0.190 H 303.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB6FF0
RGBrgb(171, 111, 240)
HSLhsl(268, 81%, 69%)
HSVhsv(268, 54%, 94%)
CMYKcmyk(28.8%, 53.8%, 0%, 5.9%)
CIE-LABlab(58.34, 48.58, -56.34)
CIE-LCHlch(58.34, 74.39, 310.77°)
OKLaboklab(66.12% 0.1034 -0.1588)
OKLCHoklch(66.12% 0.19 303.1)
XYZxyz(38.2037, 26.3181, 85.4884)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FF0 #B4F06F
analogous
#6F74F0 #AB6FF0 #EC6FF0
triadic
#AB6FF0 #F0AB6F #6FF0AB
tetradic
#AB6FF0 #F06F74 #B4F06F #6FF0EC
square
#AB6FF0 #F06F74 #B4F06F #6FF0EC
split-complementary
#AB6FF0 #F0EC6F #74F06F
monochromatic
#6C16CF #8B38EA #AB6FF0 #CBA6F6 #ECDEFC

Accessibility & contrast

On white

3.35
#AB6FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AB6FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FF0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FF0#FFFFFF#000000##000000
##AB6FF01.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF4
Deuteranopia (green-blind)
#548CED
Tritanopia (blue-blind)
#9E88A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6ff0;
/* rgb */ color: rgb(171, 111, 240);
/* oklch */ color: oklch(66.1% 0.190 303.1);
Tailwind
colors: {
  custom: {
    50: '#c79af5',
    500: '#ab6ff0',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ff0;
$custom-light: #c79af5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ff0",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 240
  },
  "hsl": {
    "h": 267.907,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66122,
    "c": 0.18953,
    "h": 303.1
  },
  "luminance": 0.26318
}

Semantic roles & 50–950 ramp

primary
#AB6FF0
secondary
#DFF0CA
accent
#DD087A
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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