#AB6CDA#AB6CDA

#AB6CDA is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.169 H 308.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB6CDA
RGBrgb(171, 108, 218)
HSLhsl(274, 60%, 64%)
HSVhsv(274, 50%, 85%)
CMYKcmyk(21.6%, 50.5%, 0%, 14.5%)
CIE-LABlab(56.53, 45.10, -46.90)
CIE-LCHlch(56.53, 65.06, 313.88°)
OKLaboklab(64.4% 0.1057 -0.1313)
OKLCHoklch(64.4% 0.169 308.9)
XYZxyz(34.8096, 24.4455, 69.2008)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CDA #9BDA6C
analogous
#746CDA #AB6CDA #DA6CD2
triadic
#AB6CDA #DAAB6C #6CDAAB
tetradic
#AB6CDA #DA746C #9BDA6C #6CD2DA
square
#AB6CDA #DA746C #9BDA6C #6CD2DA
split-complementary
#AB6CDA #D2DA6C #6CDA74
monochromatic
#6F29A3 #8F3BCE #AB6CDA #C79DE6 #E3CEF3

Accessibility & contrast

On white

3.57
#AB6CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AB6CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CDA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CDA#FFFFFF#000000##000000
##AB6CDA1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DE
Deuteranopia (green-blind)
#6188D7
Tritanopia (blue-blind)
#A57F99
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6cda;
/* rgb */ color: rgb(171, 108, 218);
/* oklch */ color: oklch(64.4% 0.169 308.9);
Tailwind
colors: {
  custom: {
    50: '#c698e6',
    500: '#ab6cda',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cda;
$custom-light: #c698e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cda",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 274.364,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64402,
    "c": 0.16856,
    "h": 308.9
  },
  "luminance": 0.24445
}

Semantic roles & 50–950 ramp

primary
#AB6CDA
secondary
#CEE4BE
accent
#C71E66
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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