#B17BC2#B17BC2

#B17BC2 is a light, moderate purple. Relative luminance 0.274; OKLCH L 66.3% C 0.118 H 317.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B17BC2
RGBrgb(177, 123, 194)
HSLhsl(286, 37%, 62%)
HSVhsv(286, 37%, 76%)
CMYKcmyk(8.8%, 36.6%, 0%, 23.9%)
CIE-LABlab(59.35, 33.43, -28.86)
CIE-LCHlch(59.35, 44.16, 319.19°)
OKLaboklab(66.3% 0.0875 -0.0792)
OKLCHoklch(66.3% 0.118 317.9)
XYZxyz(34.9507, 27.4090, 54.4778)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BC2 #8CC27B
analogous
#8E7BC2 #B17BC2 #C27BB0
triadic
#B17BC2 #C2B17B #7BC2B1
tetradic
#B17BC2 #C28E7B #8CC27B #7BB0C2
square
#B17BC2 #C28E7B #8CC27B #7BB0C2
split-complementary
#B17BC2 #B0C27B #7BC28E
monochromatic
#743E85 #9851AF #B17BC2 #CAA5D5 #E2CFE9

Accessibility & contrast

On white

3.24
#B17BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B17BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17BC2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17BC2#FFFFFF#000000##000000
##B17BC21.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#718BC5
Deuteranopia (green-blind)
#7E91C0
Tritanopia (blue-blind)
#B18496
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b17bc2;
/* rgb */ color: rgb(177, 123, 194);
/* oklch */ color: oklch(66.3% 0.118 317.9);
Tailwind
colors: {
  custom: {
    50: '#c9a2d4',
    500: '#b17bc2',
    950: '#000000',
  },
}
SCSS
$custom: #b17bc2;
$custom-light: #c9a2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b17bc2",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 285.634,
    "s": 36.788,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66298,
    "c": 0.11799,
    "h": 317.9
  },
  "luminance": 0.27408
}

Semantic roles & 50–950 ramp

primary
#B17BC2
secondary
#C6D9BF
accent
#B03653
background
#FCFAFD
surface
#F8F3FA
border
#D1CDD3
text
#130F14
muted
#827F83

Preview Lab

Preview with #B17BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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