#AB6DCF#AB6DCF

#AB6DCF is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.0% C 0.154 H 311.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AB6DCF
RGBrgb(171, 109, 207)
HSLhsl(278, 51%, 62%)
HSVhsv(278, 47%, 81%)
CMYKcmyk(17.4%, 47.3%, 0%, 18.8%)
CIE-LABlab(56.19, 42.11, -41.22)
CIE-LCHlch(56.19, 58.93, 315.61°)
OKLaboklab(63.97% 0.1031 -0.1148)
OKLCHoklch(63.97% 0.154 311.9)
XYZxyz(33.5237, 24.1009, 61.9053)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DCF #91CF6D
analogous
#7A6DCF #AB6DCF #CF6DC2
triadic
#AB6DCF #CFAB6D #6DCFAB
tetradic
#AB6DCF #CF7A6D #91CF6D #6DC2CF
square
#AB6DCF #CF7A6D #91CF6D #6DC2CF
split-complementary
#AB6DCF #C2CF6D #6DCF7A
monochromatic
#6E3092 #903FC0 #AB6DCF #C59BDE #E0C9ED

Accessibility & contrast

On white

3.61
#AB6DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#AB6DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DCF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DCF#FFFFFF#000000##000000
##AB6DCF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D2
Deuteranopia (green-blind)
#6888CC
Tritanopia (blue-blind)
#A77C94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab6dcf;
/* rgb */ color: rgb(171, 109, 207);
/* oklch */ color: oklch(64.0% 0.154 311.9);
Tailwind
colors: {
  custom: {
    50: '#c698de',
    500: '#ab6dcf',
    950: '#000000',
  },
}
SCSS
$custom: #ab6dcf;
$custom-light: #c698de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6dcf",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 277.959,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63967,
    "c": 0.15426,
    "h": 311.9
  },
  "luminance": 0.241
}

Semantic roles & 50–950 ramp

primary
#AB6DCF
secondary
#C7DEBA
accent
#BE285F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB6DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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