#AB6ADE#AB6ADE

#AB6ADE is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.3% C 0.176 H 308.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB6ADE
RGBrgb(171, 106, 222)
HSLhsl(274, 64%, 64%)
HSVhsv(274, 52%, 87%)
CMYKcmyk(23%, 52.3%, 0%, 12.9%)
CIE-LABlab(56.33, 47.07, -49.48)
CIE-LCHlch(56.33, 68.29, 313.57°)
OKLaboklab(64.32% 0.1088 -0.1388)
OKLCHoklch(64.32% 0.176 308.1)
XYZxyz(35.1308, 24.2404, 71.9212)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6ADE #9DDE6A
analogous
#716ADE #AB6ADE #DE6AD7
triadic
#AB6ADE #DEAB6A #6ADEAB
tetradic
#AB6ADE #DE716A #9DDE6A #6AD7DE
square
#AB6ADE #DE716A #9DDE6A #6AD7DE
split-complementary
#AB6ADE #D7DE6A #6ADE71
monochromatic
#6F25A8 #8F38D3 #AB6ADE #C79CE9 #E3CEF4

Accessibility & contrast

On white

3.59
#AB6ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AB6ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6ADE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6ADE#FFFFFF#000000##000000
##AB6ADE1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E2
Deuteranopia (green-blind)
#5C88DB
Tritanopia (blue-blind)
#A47E9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab6ade;
/* rgb */ color: rgb(171, 106, 222);
/* oklch */ color: oklch(64.3% 0.176 308.1);
Tailwind
colors: {
  custom: {
    50: '#c797e9',
    500: '#ab6ade',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ade;
$custom-light: #c797e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ade",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 222
  },
  "hsl": {
    "h": 273.621,
    "s": 63.736,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6432,
    "c": 0.17631,
    "h": 308.1
  },
  "luminance": 0.2424
}

Semantic roles & 50–950 ramp

primary
#AB6ADE
secondary
#CFE6BE
accent
#CC1A68
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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