#AB6BDD#AB6BDD

#AB6BDD is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.174 H 308.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB6BDD
RGBrgb(171, 107, 221)
HSLhsl(274, 63%, 64%)
HSVhsv(274, 52%, 87%)
CMYKcmyk(22.6%, 51.6%, 0%, 13.3%)
CIE-LABlab(56.48, 46.31, -48.67)
CIE-LCHlch(56.48, 67.18, 313.58°)
OKLaboklab(64.42% 0.1074 -0.1364)
OKLCHoklch(64.42% 0.174 308.2)
XYZxyz(35.1009, 24.3942, 71.2520)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BDD #9DDD6B
analogous
#726BDD #AB6BDD #DD6BD6
triadic
#AB6BDD #DDAB6B #6BDDAB
tetradic
#AB6BDD #DD726B #9DDD6B #6BD6DD
square
#AB6BDD #DD726B #9DDD6B #6BD6DD
split-complementary
#AB6BDD #D6DD6B #6BDD72
monochromatic
#6F26A7 #8F39D2 #AB6BDD #C79DE8 #E3CFF4

Accessibility & contrast

On white

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

On black

5.88
#AB6BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BDD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BDD#FFFFFF#000000##000000
##AB6BDD1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#5E88DA
Tritanopia (blue-blind)
#A47F9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab6bdd;
/* rgb */ color: rgb(171, 107, 221);
/* oklch */ color: oklch(64.4% 0.174 308.2);
Tailwind
colors: {
  custom: {
    50: '#c697e8',
    500: '#ab6bdd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bdd;
$custom-light: #c697e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bdd",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 273.684,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64415,
    "c": 0.17359,
    "h": 308.2
  },
  "luminance": 0.24394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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