#AB6CDD#AB6CDD

#AB6CDD is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.6% C 0.172 H 308.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB6CDD
RGBrgb(171, 108, 221)
HSLhsl(273, 62%, 65%)
HSVhsv(273, 51%, 87%)
CMYKcmyk(22.6%, 51.1%, 0%, 13.3%)
CIE-LABlab(56.69, 45.77, -48.34)
CIE-LCHlch(56.69, 66.58, 313.44°)
OKLaboklab(64.57% 0.106 -0.1355)
OKLCHoklch(64.57% 0.172 308)
XYZxyz(35.2057, 24.6040, 71.2870)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CDD #9EDD6C
analogous
#736CDD #AB6CDD #DD6CD7
triadic
#AB6CDD #DDAB6C #6CDDAB
tetradic
#AB6CDD #DD736C #9EDD6C #6CD7DD
square
#AB6CDD #DD736C #9EDD6C #6CD7DD
split-complementary
#AB6CDD #D7DD6C #6CDD73
monochromatic
#6F27A8 #8F3AD2 #AB6CDD #C79EE8 #E4CFF4

Accessibility & contrast

On white

3.55
#AB6CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#AB6CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CDD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CDD#FFFFFF#000000##000000
##AB6CDD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E1
Deuteranopia (green-blind)
#5F89DA
Tritanopia (blue-blind)
#A4809A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6cdd;
/* rgb */ color: rgb(171, 108, 221);
/* oklch */ color: oklch(64.6% 0.172 308.0);
Tailwind
colors: {
  custom: {
    50: '#c698e8',
    500: '#ab6cdd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cdd;
$custom-light: #c698e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cdd",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 221
  },
  "hsl": {
    "h": 273.451,
    "s": 62.431,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.17202,
    "h": 308
  },
  "luminance": 0.24604
}

Semantic roles & 50–950 ramp

primary
#AB6CDD
secondary
#D0E6BF
accent
#CA1B69
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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