#AB6BD2#AB6BD2

#AB6BD2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.8% C 0.161 H 311.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AB6BD2
RGBrgb(171, 107, 210)
HSLhsl(277, 53%, 62%)
HSVhsv(277, 49%, 82%)
CMYKcmyk(18.6%, 49%, 0%, 17.6%)
CIE-LABlab(55.91, 43.85, -43.36)
CIE-LCHlch(55.91, 61.67, 315.33°)
OKLaboklab(63.81% 0.1063 -0.1209)
OKLCHoklch(63.81% 0.161 311.3)
XYZxyz(33.6831, 23.8271, 63.7850)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BD2 #92D26B
analogous
#786BD2 #AB6BD2 #D26BC5
triadic
#AB6BD2 #D2AB6B #6BD2AB
tetradic
#AB6BD2 #D2786B #92D26B #6BC5D2
square
#AB6BD2 #D2786B #92D26B #6BC5D2
split-complementary
#AB6BD2 #C5D26B #6BD278
monochromatic
#6E2D95 #903CC4 #AB6BD2 #C69AE0 #E0C9EF

Accessibility & contrast

On white

3.64
#AB6BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AB6BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BD2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BD2#FFFFFF#000000##000000
##AB6BD21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5283D6
Deuteranopia (green-blind)
#6587CF
Tritanopia (blue-blind)
#A77C95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab6bd2;
/* rgb */ color: rgb(171, 107, 210);
/* oklch */ color: oklch(63.8% 0.161 311.3);
Tailwind
colors: {
  custom: {
    50: '#c697e0',
    500: '#ab6bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bd2;
$custom-light: #c697e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bd2",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 277.282,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63812,
    "c": 0.16099,
    "h": 311.3
  },
  "luminance": 0.23826
}

Semantic roles & 50–950 ramp

primary
#AB6BD2
secondary
#C8DFB9
accent
#C12560
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB6BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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