#AB7EBF#AB7EBF

#AB7EBF is a light, moderate purple. Relative luminance 0.273; OKLCH L 66.1% C 0.106 H 315.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AB7EBF
RGBrgb(171, 126, 191)
HSLhsl(282, 34%, 62%)
HSVhsv(282, 34%, 75%)
CMYKcmyk(10.5%, 34%, 0%, 25.1%)
CIE-LABlab(59.29, 29.22, -27.30)
CIE-LCHlch(59.29, 39.99, 316.94°)
OKLaboklab(66.07% 0.0751 -0.0749)
OKLCHoklch(66.07% 0.106 315.1)
XYZxyz(33.6580, 27.3419, 52.7846)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7EBF #92BF7E
analogous
#8A7EBF #AB7EBF #BF7EB3
triadic
#AB7EBF #BFAB7E #7EBFAB
tetradic
#AB7EBF #BF8A7E #92BF7E #7EB3BF
square
#AB7EBF #BF8A7E #92BF7E #7EB3BF
split-complementary
#AB7EBF #B3BF7E #7EBF8A
monochromatic
#6E4182 #9055AB #AB7EBF #C6A7D3 #E0D0E8

Accessibility & contrast

On white

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

On black

6.47
#AB7EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7EBF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7EBF#FFFFFF#000000##000000
##AB7EBF1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#748CC2
Deuteranopia (green-blind)
#7E90BD
Tritanopia (blue-blind)
#AA8696
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab7ebf;
/* rgb */ color: rgb(171, 126, 191);
/* oklch */ color: oklch(66.1% 0.106 315.1);
Tailwind
colors: {
  custom: {
    50: '#c5a4d2',
    500: '#ab7ebf',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ebf;
$custom-light: #c5a4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ebf",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 191
  },
  "hsl": {
    "h": 281.538,
    "s": 33.679,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66067,
    "c": 0.10606,
    "h": 315.1
  },
  "luminance": 0.27341
}

Semantic roles & 50–950 ramp

primary
#AB7EBF
secondary
#C8D8C0
accent
#AC395D
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AB7EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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