#AB7EBE#AB7EBE

#AB7EBE is a light, moderate purple. Relative luminance 0.273; OKLCH L 66.0% C 0.105 H 315.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AB7EBE
RGBrgb(171, 126, 190)
HSLhsl(282, 33%, 62%)
HSVhsv(282, 34%, 75%)
CMYKcmyk(10%, 33.7%, 0%, 25.5%)
CIE-LABlab(59.25, 29.01, -26.80)
CIE-LCHlch(59.25, 39.49, 317.27°)
OKLaboklab(66.02% 0.0749 -0.0734)
OKLCHoklch(66.02% 0.105 315.6)
XYZxyz(33.5483, 27.2980, 52.2070)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7EBE #91BE7E
analogous
#8B7EBE #AB7EBE #BE7EB1
triadic
#AB7EBE #BEAB7E #7EBEAB
tetradic
#AB7EBE #BE8B7E #91BE7E #7EB1BE
square
#AB7EBE #BE8B7E #91BE7E #7EB1BE
split-complementary
#AB7EBE #B1BE7E #7EBE8B
monochromatic
#6E4181 #9055A9 #AB7EBE #C5A7D3 #E0CFE7

Accessibility & contrast

On white

3.25
#AB7EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AB7EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7EBE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7EBE#FFFFFF#000000##000000
##AB7EBE1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#748CC0
Deuteranopia (green-blind)
#7F90BC
Tritanopia (blue-blind)
#AA8695
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab7ebe;
/* rgb */ color: rgb(171, 126, 190);
/* oklch */ color: oklch(66.0% 0.105 315.6);
Tailwind
colors: {
  custom: {
    50: '#c5a4d1',
    500: '#ab7ebe',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ebe;
$custom-light: #c5a4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ebe",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 190
  },
  "hsl": {
    "h": 282.188,
    "s": 32.99,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66023,
    "c": 0.10487,
    "h": 315.6
  },
  "luminance": 0.27297
}

Semantic roles & 50–950 ramp

primary
#AB7EBE
secondary
#C7D8C0
accent
#AC3A5C
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AB7EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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