#AB6BD8#AB6BD8

#AB6BD8 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.1% C 0.168 H 309.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB6BD8
RGBrgb(171, 107, 216)
HSLhsl(275, 58%, 63%)
HSVhsv(275, 50%, 85%)
CMYKcmyk(20.8%, 50.5%, 0%, 15.3%)
CIE-LABlab(56.22, 45.19, -46.27)
CIE-LCHlch(56.22, 64.67, 314.32°)
OKLaboklab(64.14% 0.1069 -0.1294)
OKLCHoklch(64.14% 0.168 309.6)
XYZxyz(34.4446, 24.1317, 67.7958)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BD8 #98D86B
analogous
#746BD8 #AB6BD8 #D86BCF
triadic
#AB6BD8 #D8AB6B #6BD8AB
tetradic
#AB6BD8 #D8746B #98D86B #6BCFD8
square
#AB6BD8 #D8746B #98D86B #6BCFD8
split-complementary
#AB6BD8 #CFD86B #6BD874
monochromatic
#6E2A9F #903BCB #AB6BD8 #C69BE5 #E2CCF2

Accessibility & contrast

On white

3.60
#AB6BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#AB6BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BD8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BD8#FFFFFF#000000##000000
##AB6BD81.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DC
Deuteranopia (green-blind)
#6188D5
Tritanopia (blue-blind)
#A57D98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab6bd8;
/* rgb */ color: rgb(171, 107, 216);
/* oklch */ color: oklch(64.1% 0.168 309.6);
Tailwind
colors: {
  custom: {
    50: '#c697e4',
    500: '#ab6bd8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bd8;
$custom-light: #c697e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bd8",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 216
  },
  "hsl": {
    "h": 275.229,
    "s": 58.289,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64137,
    "c": 0.16785,
    "h": 309.6
  },
  "luminance": 0.24131
}

Semantic roles & 50–950 ramp

primary
#AB6BD8
secondary
#CCE3BC
accent
#C62064
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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