#AB6AF8#AB6AF8

#AB6AF8 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.9% C 0.206 H 302.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB6AF8
RGBrgb(171, 106, 248)
HSLhsl(267, 91%, 69%)
HSVhsv(267, 57%, 97%)
CMYKcmyk(31%, 57.3%, 0%, 2.7%)
CIE-LABlab(57.79, 53.12, -61.65)
CIE-LCHlch(57.79, 81.38, 310.75°)
OKLaboklab(65.87% 0.1097 -0.1744)
OKLCHoklch(65.87% 0.206 302.2)
XYZxyz(38.8880, 25.7432, 91.7089)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AF8 #B7F86A
analogous
#6A70F8 #AB6AF8 #F26AF8
triadic
#AB6AF8 #F8AB6A #6AF8AB
tetradic
#AB6AF8 #F86A70 #B7F86A #6AF8F2
square
#AB6AF8 #F86A70 #B7F86A #6AF8F2
split-complementary
#AB6AF8 #F8F26A #70F86A
monochromatic
#6B0ADD #8A30F5 #AB6AF8 #CCA4FB #EDDFFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6AF8#FFFFFF#000000##000000
##AB6AF81.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)
#288AFD
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#9C87A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6af8;
/* rgb */ color: rgb(171, 106, 248);
/* oklch */ color: oklch(65.9% 0.206 302.2);
Tailwind
colors: {
  custom: {
    50: '#c897fb',
    500: '#ab6af8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6af8;
$custom-light: #c897fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6af8",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 267.465,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65869,
    "c": 0.20605,
    "h": 302.2
  },
  "luminance": 0.25743
}

Semantic roles & 50–950 ramp

primary
#AB6AF8
secondary
#E1F3CA
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AB6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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