#AB8EBE#AB8EBE

#AB8EBE is a light, moderate violet. Relative luminance 0.317; OKLCH L 69.0% C 0.076 H 311.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AB8EBE
RGBrgb(171, 142, 190)
HSLhsl(276, 27%, 65%)
HSVhsv(276, 25%, 75%)
CMYKcmyk(10%, 25.3%, 0%, 25.5%)
CIE-LABlab(63.11, 19.96, -20.87)
CIE-LCHlch(63.11, 28.88, 313.72°)
OKLaboklab(68.98% 0.0506 -0.0568)
OKLCHoklch(68.98% 0.076 311.7)
XYZxyz(35.7603, 31.7220, 52.9443)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8EBE #A1BE8E
analogous
#938EBE #AB8EBE #BE8EB9
triadic
#AB8EBE #BEAB8E #8EBEAB
tetradic
#AB8EBE #BE938E #A1BE8E #8EB9BE
square
#AB8EBE #BE938E #A1BE8E #8EB9BE
split-complementary
#AB8EBE #B9BE8E #8EBE93
monochromatic
#6F4D85 #8E67A8 #AB8EBE #C8B5D4 #E5DCEB

Accessibility & contrast

On white

2.86
#AB8EBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AB8EBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8EBE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8EBE#FFFFFF#000000##000000
##AB8EBE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797C0
Deuteranopia (green-blind)
#8D99BC
Tritanopia (blue-blind)
#A9949F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab8ebe;
/* rgb */ color: rgb(171, 142, 190);
/* oklch */ color: oklch(69.0% 0.076 311.7);
Tailwind
colors: {
  custom: {
    50: '#c4afd1',
    500: '#ab8ebe',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ebe;
$custom-light: #c4afd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ebe",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 190
  },
  "hsl": {
    "h": 276.25,
    "s": 26.966,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68976,
    "c": 0.0761,
    "h": 311.7
  },
  "luminance": 0.31722
}

Semantic roles & 50–950 ramp

primary
#AB8EBE
secondary
#D2DCCC
accent
#A64068
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #AB8EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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