#AB6CFB#AB6CFB

#AB6CFB is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.3% C 0.207 H 301.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB6CFB
RGBrgb(171, 108, 251)
HSLhsl(266, 95%, 70%)
HSVhsv(266, 57%, 98%)
CMYKcmyk(31.9%, 57%, 0%, 1.6%)
CIE-LABlab(58.37, 52.79, -62.39)
CIE-LCHlch(58.37, 81.73, 310.24°)
OKLaboklab(66.35% 0.1073 -0.1766)
OKLCHoklch(66.35% 0.207 301.3)
XYZxyz(39.5656, 26.3479, 94.2493)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CFB #BCFB6C
analogous
#6C74FB #AB6CFB #F36CFB
triadic
#AB6CFB #FBAB6C #6CFBAB
tetradic
#AB6CFB #FB6C74 #BCFB6C #6CFBF3
square
#AB6CFB #FB6C74 #BCFB6C #6CFBF3
split-complementary
#AB6CFB #FBF36C #74FB6C
monochromatic
#6906E6 #8930F9 #AB6CFB #CDA8FD #EEE1FE

Accessibility & contrast

On white

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

On black

6.27
#AB6CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CFB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CFB#FFFFFF#000000##000000
##AB6CFB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#298CFF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#9B89A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6cfb;
/* rgb */ color: rgb(171, 108, 251);
/* oklch */ color: oklch(66.3% 0.207 301.3);
Tailwind
colors: {
  custom: {
    50: '#c898fd',
    500: '#ab6cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cfb;
$custom-light: #c898fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cfb",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 266.434,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66346,
    "c": 0.20664,
    "h": 301.3
  },
  "luminance": 0.26348
}

Semantic roles & 50–950 ramp

primary
#AB6CFB
secondary
#E4F5CE
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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