#AB7DED#AB7DED

#AB7DED is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.165 H 301.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AB7DED
RGBrgb(171, 125, 237)
HSLhsl(265, 76%, 71%)
HSVhsv(265, 47%, 93%)
CMYKcmyk(27.8%, 47.3%, 0%, 7.1%)
CIE-LABlab(61.17, 40.23, -50.17)
CIE-LCHlch(61.17, 64.31, 308.72°)
OKLaboklab(68.17% 0.085 -0.1408)
OKLCHoklch(68.17% 0.165 301.1)
XYZxyz(39.4108, 29.4395, 83.7104)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DED #BFED7D
analogous
#7D87ED #AB7DED #E37DED
triadic
#AB7DED #EDAB7D #7DEDAB
tetradic
#AB7DED #ED7D87 #BFED7D #7DEDE3
square
#AB7DED #ED7D87 #BFED7D #7DEDE3
split-complementary
#AB7DED #EDE37D #87ED7D
monochromatic
#681DD2 #8847E6 #AB7DED #CEB3F4 #EEE4FB

Accessibility & contrast

On white

3.05
#AB7DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AB7DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DED
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DED#FFFFFF#000000##000000
##AB7DED1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#6693EA
Tritanopia (blue-blind)
#9E91AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab7ded;
/* rgb */ color: rgb(171, 125, 237);
/* oklch */ color: oklch(68.2% 0.165 301.1);
Tailwind
colors: {
  custom: {
    50: '#c6a3f3',
    500: '#ab7ded',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ded;
$custom-light: #c6a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ded",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 264.643,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68171,
    "c": 0.16452,
    "h": 301.1
  },
  "luminance": 0.2944
}

Semantic roles & 50–950 ramp

primary
#AB7DED
secondary
#E6F2D4
accent
#D80E85
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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