#AB6FFB#AB6FFB

#AB6FFB is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 66.8% C 0.202 H 300.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB6FFB
RGBrgb(171, 111, 251)
HSLhsl(266, 95%, 71%)
HSVhsv(266, 56%, 98%)
CMYKcmyk(31.9%, 55.8%, 0%, 1.6%)
CIE-LABlab(58.97, 51.21, -61.43)
CIE-LCHlch(58.97, 79.97, 309.82°)
OKLaboklab(66.79% 0.1037 -0.1738)
OKLCHoklch(66.79% 0.202 300.8)
XYZxyz(39.8875, 26.9916, 94.3566)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FFB #BFFB6F
analogous
#6F79FB #AB6FFB #F16FFB
triadic
#AB6FFB #FBAB6F #6FFBAB
tetradic
#AB6FFB #FB6F79 #BFFB6F #6FFBF1
square
#AB6FFB #FB6F79 #BFFB6F #6FFBF1
split-complementary
#AB6FFB #FBF16F #79FB6F
monochromatic
#6806E9 #8833F9 #AB6FFB #CEABFD #EEE1FE

Accessibility & contrast

On white

3.28
#AB6FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AB6FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FFB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FFB#FFFFFF#000000##000000
##AB6FFB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#328DFF
Deuteranopia (green-blind)
#498DF8
Tritanopia (blue-blind)
#9B8BAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab6ffb;
/* rgb */ color: rgb(171, 111, 251);
/* oklch */ color: oklch(66.8% 0.202 300.8);
Tailwind
colors: {
  custom: {
    50: '#c89afd',
    500: '#ab6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ffb;
$custom-light: #c89afd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ffb",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 265.714,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.20236,
    "h": 300.8
  },
  "luminance": 0.26992
}

Semantic roles & 50–950 ramp

primary
#AB6FFB
secondary
#E6F6D0
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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