#AB6BDF#AB6BDF

#AB6BDF is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.5% C 0.176 H 307.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AB6BDF
RGBrgb(171, 107, 223)
HSLhsl(273, 64%, 65%)
HSVhsv(273, 52%, 87%)
CMYKcmyk(23.3%, 52%, 0%, 12.5%)
CIE-LABlab(56.59, 46.76, -49.63)
CIE-LCHlch(56.59, 68.19, 313.30°)
OKLaboklab(64.53% 0.1075 -0.1392)
OKLCHoklch(64.53% 0.176 307.7)
XYZxyz(35.3689, 24.5015, 72.6637)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BDF #9FDF6B
analogous
#716BDF #AB6BDF #DF6BD9
triadic
#AB6BDF #DFAB6B #6BDFAB
tetradic
#AB6BDF #DF716B #9FDF6B #6BD9DF
square
#AB6BDF #DF716B #9FDF6B #6BD9DF
split-complementary
#AB6BDF #D9DF6B #6BDF71
monochromatic
#6F25AB #8E39D4 #AB6BDF #C89DEA #E4D0F5

Accessibility & contrast

On white

3.56
#AB6BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AB6BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BDF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BDF#FFFFFF#000000##000000
##AB6BDF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#5C88DC
Tritanopia (blue-blind)
#A37F9B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6bdf;
/* rgb */ color: rgb(171, 107, 223);
/* oklch */ color: oklch(64.5% 0.176 307.7);
Tailwind
colors: {
  custom: {
    50: '#c797e9',
    500: '#ab6bdf',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bdf;
$custom-light: #c797e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bdf",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 273.103,
    "s": 64.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64528,
    "c": 0.17589,
    "h": 307.7
  },
  "luminance": 0.24501
}

Semantic roles & 50–950 ramp

primary
#AB6BDF
secondary
#D1E7BF
accent
#CC1969
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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