#AB6FCD#AB6FCD

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

Color values

HEX#AB6FCD
RGBrgb(171, 111, 205)
HSLhsl(278, 48%, 62%)
HSVhsv(278, 46%, 80%)
CMYKcmyk(16.6%, 45.9%, 0%, 19.6%)
CIE-LABlab(56.52, 40.59, -39.57)
CIE-LCHlch(56.52, 56.68, 315.73°)
OKLaboklab(64.18% 0.1 -0.11)
OKLCHoklch(64.18% 0.149 312.3)
XYZxyz(33.4966, 24.4353, 60.6977)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FCD #91CD6F
analogous
#7C6FCD #AB6FCD #CD6FC0
triadic
#AB6FCD #CDAB6F #6FCDAB
tetradic
#AB6FCD #CD7C6F #91CD6F #6FC0CD
square
#AB6FCD #CD7C6F #91CD6F #6FC0CD
split-complementary
#AB6FCD #C0CD6F #6FCD7C
monochromatic
#6E3290 #9042BD #AB6FCD #C59CDD #E0CAED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6FCD#FFFFFF#000000##000000
##AB6FCD1.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)
#5B84D0
Deuteranopia (green-blind)
#6B89CA
Tritanopia (blue-blind)
#A87D94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6fcd;
/* rgb */ color: rgb(171, 111, 205);
/* oklch */ color: oklch(64.2% 0.149 312.3);
Tailwind
colors: {
  custom: {
    50: '#c69adc',
    500: '#ab6fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fcd;
$custom-light: #c69adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fcd",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 278.298,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64184,
    "c": 0.14863,
    "h": 312.3
  },
  "luminance": 0.24435
}

Semantic roles & 50–950 ramp

primary
#AB6FCD
secondary
#C7DDBB
accent
#BC2A5F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB6FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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