#AB7DEB#AB7DEB

#AB7DEB is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.1% C 0.162 H 301.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AB7DEB
RGBrgb(171, 125, 235)
HSLhsl(265, 73%, 71%)
HSVhsv(265, 47%, 92%)
CMYKcmyk(27.2%, 46.8%, 0%, 7.8%)
CIE-LABlab(61.07, 39.75, -49.22)
CIE-LCHlch(61.07, 63.27, 308.92°)
OKLaboklab(68.06% 0.0848 -0.1381)
OKLCHoklch(68.06% 0.162 301.5)
XYZxyz(39.1202, 29.3232, 82.1801)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DEB #BDEB7D
analogous
#7D86EB #AB7DEB #E27DEB
triadic
#AB7DEB #EBAB7D #7DEBAB
tetradic
#AB7DEB #EB7D86 #BDEB7D #7DEBE2
square
#AB7DEB #EB7D86 #BDEB7D #7DEBE2
split-complementary
#AB7DEB #EBE27D #86EB7D
monochromatic
#6920CE #8948E3 #AB7DEB #CDB2F3 #EEE4FB

Accessibility & contrast

On white

3.06
#AB7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AB7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DEB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DEB#FFFFFF#000000##000000
##AB7DEB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#6793E8
Tritanopia (blue-blind)
#9F91A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab7deb;
/* rgb */ color: rgb(171, 125, 235);
/* oklch */ color: oklch(68.1% 0.162 301.5);
Tailwind
colors: {
  custom: {
    50: '#c6a3f2',
    500: '#ab7deb',
    950: '#000000',
  },
}
SCSS
$custom: #ab7deb;
$custom-light: #c6a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7deb",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 265.091,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68062,
    "c": 0.16202,
    "h": 301.5
  },
  "luminance": 0.29323
}

Semantic roles & 50–950 ramp

primary
#AB7DEB
secondary
#E4F1D3
accent
#D51083
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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