#AB6CF6#AB6CF6

#AB6CF6 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.0% C 0.201 H 302.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB6CF6
RGBrgb(171, 108, 246)
HSLhsl(267, 88%, 69%)
HSVhsv(267, 56%, 96%)
CMYKcmyk(30.5%, 56.1%, 0%, 3.5%)
CIE-LABlab(58.07, 51.60, -60.09)
CIE-LCHlch(58.07, 79.20, 310.65°)
OKLaboklab(66.04% 0.1073 -0.1698)
OKLCHoklch(66.04% 0.201 302.3)
XYZxyz(38.7879, 26.0368, 90.1531)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CF6 #B7F66C
analogous
#6C72F6 #AB6CF6 #F06CF6
triadic
#AB6CF6 #F6AB6C #6CF6AB
tetradic
#AB6CF6 #F66C72 #B7F66C #6CF6F0
square
#AB6CF6 #F66C72 #B7F66C #6CF6F0
split-complementary
#AB6CF6 #F6F06C #72F66C
monochromatic
#6B0DDA #8A32F2 #AB6CF6 #CCA6FA #EDDFFD

Accessibility & contrast

On white

3.38
#AB6CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AB6CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CF6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CF6#FFFFFF#000000##000000
##AB6CF61.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AFB
Deuteranopia (green-blind)
#4A8BF3
Tritanopia (blue-blind)
#9D87A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6cf6;
/* rgb */ color: rgb(171, 108, 246);
/* oklch */ color: oklch(66.0% 0.201 302.3);
Tailwind
colors: {
  custom: {
    50: '#c898fa',
    500: '#ab6cf6',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cf6;
$custom-light: #c898fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cf6",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 267.391,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66037,
    "c": 0.20089,
    "h": 302.3
  },
  "luminance": 0.26037
}

Semantic roles & 50–950 ramp

primary
#AB6CF6
secondary
#E1F3CB
accent
#E5007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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