#AB8FBB#AB8FBB

#AB8FBB is a light, moderate violet. Relative luminance 0.319; OKLCH L 69.0% C 0.071 H 313.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AB8FBB
RGBrgb(171, 143, 187)
HSLhsl(278, 24%, 65%)
HSVhsv(278, 24%, 73%)
CMYKcmyk(8.6%, 23.5%, 0%, 26.7%)
CIE-LABlab(63.25, 18.76, -18.97)
CIE-LCHlch(63.25, 26.68, 314.69°)
OKLaboklab(69.05% 0.0482 -0.0515)
OKLCHoklch(69.05% 0.071 313.1)
XYZxyz(35.5852, 31.8911, 51.2850)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FBB #9FBB8F
analogous
#958FBB #AB8FBB #BB8FB5
triadic
#AB8FBB #BBAB8F #8FBBAB
tetradic
#AB8FBB #BB958F #9FBB8F #8FB5BB
square
#AB8FBB #BB958F #9FBB8F #8FB5BB
split-complementary
#AB8FBB #B5BB8F #8FBB95
monochromatic
#6F4E81 #8E69A4 #AB8FBB #C8B5D2 #E4DBE9

Accessibility & contrast

On white

2.85
#AB8FBB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#AB8FBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FBB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FBB#FFFFFF#000000##000000
##AB8FBB1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8998BD
Deuteranopia (green-blind)
#8F9ABA
Tritanopia (blue-blind)
#AA949E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab8fbb;
/* rgb */ color: rgb(171, 143, 187);
/* oklch */ color: oklch(69.0% 0.071 313.1);
Tailwind
colors: {
  custom: {
    50: '#c4b0cf',
    500: '#ab8fbb',
    950: '#000000',
  },
}
SCSS
$custom: #ab8fbb;
$custom-light: #c4b0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8fbb",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 187
  },
  "hsl": {
    "h": 278.182,
    "s": 24.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69049,
    "c": 0.07052,
    "h": 313.1
  },
  "luminance": 0.31891
}

Semantic roles & 50–950 ramp

primary
#AB8FBB
secondary
#D1DACB
accent
#A34366
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#121013
muted
#817F82

Preview Lab

Preview with #AB8FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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