#AB6BCD#AB6BCD

#AB6BCD is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.5% C 0.155 H 312.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AB6BCD
RGBrgb(171, 107, 205)
HSLhsl(279, 49%, 61%)
HSVhsv(279, 48%, 80%)
CMYKcmyk(16.6%, 47.8%, 0%, 19.6%)
CIE-LABlab(55.67, 42.76, -40.91)
CIE-LCHlch(55.67, 59.18, 316.27°)
OKLaboklab(63.55% 0.1056 -0.1138)
OKLCHoklch(63.55% 0.155 312.9)
XYZxyz(33.0699, 23.5818, 60.5554)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BCD #8DCD6B
analogous
#7A6BCD #AB6BCD #CD6BBE
triadic
#AB6BCD #CDAB6B #6BCDAB
tetradic
#AB6BCD #CD7A6B #8DCD6B #6BBECD
square
#AB6BCD #CD7A6B #8DCD6B #6BBECD
split-complementary
#AB6BCD #BECD6B #6BCD7A
monochromatic
#6D308E #903FBB #AB6BCD #C599DC #DFC6EC

Accessibility & contrast

On white

3.67
#AB6BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#AB6BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BCD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BCD#FFFFFF#000000##000000
##AB6BCD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#6787CA
Tritanopia (blue-blind)
#A87A92
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab6bcd;
/* rgb */ color: rgb(171, 107, 205);
/* oklch */ color: oklch(63.5% 0.155 312.9);
Tailwind
colors: {
  custom: {
    50: '#c697dc',
    500: '#ab6bcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bcd;
$custom-light: #c697dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bcd",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 279.184,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63547,
    "c": 0.1553,
    "h": 312.9
  },
  "luminance": 0.23581
}

Semantic roles & 50–950 ramp

primary
#AB6BCD
secondary
#C4DCB8
accent
#BD295C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB6BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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