#AB6ACE#AB6ACE

#AB6ACE is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.158 H 312.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AB6ACE
RGBrgb(171, 106, 206)
HSLhsl(279, 51%, 61%)
HSVhsv(279, 49%, 81%)
CMYKcmyk(17%, 48.5%, 0%, 19.2%)
CIE-LABlab(55.51, 43.52, -41.73)
CIE-LCHlch(55.51, 60.29, 316.20°)
OKLaboklab(63.44% 0.1071 -0.1162)
OKLCHoklch(63.44% 0.158 312.7)
XYZxyz(33.0873, 23.4230, 61.1586)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6ACE #8DCE6A
analogous
#796ACE #AB6ACE #CE6ABF
triadic
#AB6ACE #CEAB6A #6ACEAB
tetradic
#AB6ACE #CE796A #8DCE6A #6ABFCE
square
#AB6ACE #CE796A #8DCE6A #6ABFCE
split-complementary
#AB6ACE #BFCE6A #6ACE79
monochromatic
#6D2F8F #903EBD #AB6ACE #C598DD #DFC6EC

Accessibility & contrast

On white

3.69
#AB6ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AB6ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6ACE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6ACE#FFFFFF#000000##000000
##AB6ACE1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#6686CB
Tritanopia (blue-blind)
#A87A92
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab6ace;
/* rgb */ color: rgb(171, 106, 206);
/* oklch */ color: oklch(63.4% 0.158 312.7);
Tailwind
colors: {
  custom: {
    50: '#c696dd',
    500: '#ab6ace',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ace;
$custom-light: #c696dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ace",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 206
  },
  "hsl": {
    "h": 279,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63443,
    "c": 0.15808,
    "h": 312.7
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#AB6ACE
secondary
#C4DDB7
accent
#BE285C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB6ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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