#AB7AED#AB7AED

#AB7AED is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.169 H 301.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AB7AED
RGBrgb(171, 122, 237)
HSLhsl(266, 76%, 70%)
HSVhsv(266, 49%, 93%)
CMYKcmyk(27.8%, 48.5%, 0%, 7.1%)
CIE-LABlab(60.51, 41.89, -51.22)
CIE-LCHlch(60.51, 66.16, 309.28°)
OKLaboklab(67.68% 0.089 -0.1439)
OKLCHoklch(67.68% 0.169 301.7)
XYZxyz(39.0367, 28.6913, 83.5858)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7AED #BCED7A
analogous
#7A82ED #AB7AED #E47AED
triadic
#AB7AED #EDAB7A #7AEDAB
tetradic
#AB7AED #ED7A82 #BCED7A #7AEDE4
square
#AB7AED #ED7A82 #BCED7A #7AEDE4
split-complementary
#AB7AED #EDE47A #82ED7A
monochromatic
#691CD0 #8944E6 #AB7AED #CDB0F4 #EEE4FB

Accessibility & contrast

On white

3.12
#AB7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#AB7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7AED
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7AED#FFFFFF#000000##000000
##AB7AED1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#6391EA
Tritanopia (blue-blind)
#9F8FA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab7aed;
/* rgb */ color: rgb(171, 122, 237);
/* oklch */ color: oklch(67.7% 0.169 301.7);
Tailwind
colors: {
  custom: {
    50: '#c7a1f3',
    500: '#ab7aed',
    950: '#000000',
  },
}
SCSS
$custom: #ab7aed;
$custom-light: #c7a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7aed",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 265.565,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67679,
    "c": 0.16917,
    "h": 301.7
  },
  "luminance": 0.28691
}

Semantic roles & 50–950 ramp

primary
#AB7AED
secondary
#E4F1D2
accent
#D80D82
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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