#B17ABE#B17ABE

#B17ABE is a light, moderate purple. Relative luminance 0.270; OKLCH L 65.9% C 0.115 H 319.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B17ABE
RGBrgb(177, 122, 190)
HSLhsl(289, 34%, 61%)
HSVhsv(289, 36%, 75%)
CMYKcmyk(6.8%, 35.8%, 0%, 25.5%)
CIE-LABlab(58.96, 33.16, -27.19)
CIE-LCHlch(58.96, 42.89, 320.65°)
OKLaboklab(65.95% 0.088 -0.0744)
OKLCHoklch(65.95% 0.115 319.8)
XYZxyz(34.3841, 26.9849, 52.1026)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17ABE #87BE7A
analogous
#8F7ABE #B17ABE #BE7AA9
triadic
#B17ABE #BEB17A #7ABEB1
tetradic
#B17ABE #BE8F7A #87BE7A #7AA9BE
square
#B17ABE #BE8F7A #87BE7A #7AA9BE
split-complementary
#B17ABE #A9BE7A #7ABE8F
monochromatic
#733E7F #9852A8 #B17ABE #C9A3D2 #E1CCE6

Accessibility & contrast

On white

3.28
#B17ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B17ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17ABE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17ABE#FFFFFF#000000##000000
##B17ABE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#7F90BC
Tritanopia (blue-blind)
#B28293
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b17abe;
/* rgb */ color: rgb(177, 122, 190);
/* oklch */ color: oklch(65.9% 0.115 319.8);
Tailwind
colors: {
  custom: {
    50: '#c9a1d1',
    500: '#b17abe',
    950: '#000000',
  },
}
SCSS
$custom: #b17abe;
$custom-light: #c9a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b17abe",
  "rgb": {
    "r": 177,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 288.529,
    "s": 34.343,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65949,
    "c": 0.11528,
    "h": 319.8
  },
  "luminance": 0.26984
}

Semantic roles & 50–950 ramp

primary
#B17ABE
secondary
#C2D7BD
accent
#AD384F
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #B17ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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