#AB6AF6#AB6AF6

#AB6AF6 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.7% C 0.204 H 302.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB6AF6
RGBrgb(171, 106, 246)
HSLhsl(268, 89%, 69%)
HSVhsv(268, 57%, 96%)
CMYKcmyk(30.5%, 56.9%, 0%, 3.5%)
CIE-LABlab(57.67, 52.64, -60.73)
CIE-LCHlch(57.67, 80.37, 310.92°)
OKLaboklab(65.75% 0.1097 -0.1717)
OKLCHoklch(65.75% 0.204 302.6)
XYZxyz(38.5794, 25.6198, 90.0836)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AF6 #B5F66A
analogous
#6A6FF6 #AB6AF6 #F16AF6
triadic
#AB6AF6 #F6AB6A #6AF6AB
tetradic
#AB6AF6 #F66A6F #B5F66A #6AF6F1
square
#AB6AF6 #F66A6F #B5F66A #6AF6F1
split-complementary
#AB6AF6 #F6F16A #6FF66A
monochromatic
#6C0DD9 #8A30F3 #AB6AF6 #CCA4F9 #ECDDFD

Accessibility & contrast

On white

3.43
#AB6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#AB6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AF6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AF6#FFFFFF#000000##000000
##AB6AF61.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C89FB
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#9D86A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6af6;
/* rgb */ color: rgb(171, 106, 246);
/* oklch */ color: oklch(65.7% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#c897fa',
    500: '#ab6af6',
    950: '#000000',
  },
}
SCSS
$custom: #ab6af6;
$custom-light: #c897fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6af6",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 267.857,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65745,
    "c": 0.20376,
    "h": 302.6
  },
  "luminance": 0.2562
}

Semantic roles & 50–950 ramp

primary
#AB6AF6
secondary
#DFF2C9
accent
#E5007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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