#AB6DDD#AB6DDD

#AB6DDD is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.7% C 0.170 H 307.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB6DDD
RGBrgb(171, 109, 221)
HSLhsl(273, 62%, 65%)
HSVhsv(273, 51%, 87%)
CMYKcmyk(22.6%, 50.7%, 0%, 13.3%)
CIE-LABlab(56.90, 45.24, -48.01)
CIE-LCHlch(56.90, 65.97, 313.30°)
OKLaboklab(64.72% 0.1047 -0.1345)
OKLCHoklch(64.72% 0.17 307.9)
XYZxyz(35.3118, 24.8161, 71.3223)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DDD #9FDD6D
analogous
#736DDD #AB6DDD #DD6DD7
triadic
#AB6DDD #DDAB6D #6DDDAB
tetradic
#AB6DDD #DD736D #9FDD6D #6DD7DD
square
#AB6DDD #DD736D #9FDD6D #6DD7DD
split-complementary
#AB6DDD #D7DD6D #6DDD73
monochromatic
#6F27A8 #8E3BD1 #AB6DDD #C89FE9 #E4D0F4

Accessibility & contrast

On white

3.52
#AB6DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AB6DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DDD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DDD#FFFFFF#000000##000000
##AB6DDD1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E1
Deuteranopia (green-blind)
#6089DA
Tritanopia (blue-blind)
#A4809B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6ddd;
/* rgb */ color: rgb(171, 109, 221);
/* oklch */ color: oklch(64.7% 0.170 307.9);
Tailwind
colors: {
  custom: {
    50: '#c699e8',
    500: '#ab6ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ddd;
$custom-light: #c699e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ddd",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 221
  },
  "hsl": {
    "h": 273.214,
    "s": 62.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64723,
    "c": 0.17044,
    "h": 307.9
  },
  "luminance": 0.24816
}

Semantic roles & 50–950 ramp

primary
#AB6DDD
secondary
#D1E6C0
accent
#CA1C69
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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