#B17CC2#B17CC2

#B17CC2 is a light, moderate purple. Relative luminance 0.277; OKLCH L 66.5% C 0.116 H 317.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B17CC2
RGBrgb(177, 124, 194)
HSLhsl(285, 36%, 62%)
HSVhsv(285, 36%, 76%)
CMYKcmyk(8.8%, 36.1%, 0%, 23.9%)
CIE-LABlab(59.58, 32.87, -28.51)
CIE-LCHlch(59.58, 43.51, 319.06°)
OKLaboklab(66.47% 0.086 -0.0782)
OKLCHoklch(66.47% 0.116 317.7)
XYZxyz(35.0753, 27.6583, 54.5194)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CC2 #8DC27C
analogous
#8E7CC2 #B17CC2 #C27CB0
triadic
#B17CC2 #C2B17C #7CC2B1
tetradic
#B17CC2 #C28E7C #8DC27C #7CB0C2
square
#B17CC2 #C28E7C #8DC27C #7CB0C2
split-complementary
#B17CC2 #B0C27C #7CC28E
monochromatic
#743E85 #9852AF #B17CC2 #CAA6D5 #E3D0E9

Accessibility & contrast

On white

3.22
#B17CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B17CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17CC2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17CC2#FFFFFF#000000##000000
##B17CC21.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#728CC5
Deuteranopia (green-blind)
#7F91C0
Tritanopia (blue-blind)
#B18596
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b17cc2;
/* rgb */ color: rgb(177, 124, 194);
/* oklch */ color: oklch(66.5% 0.116 317.7);
Tailwind
colors: {
  custom: {
    50: '#c9a3d4',
    500: '#b17cc2',
    950: '#000000',
  },
}
SCSS
$custom: #b17cc2;
$custom-light: #c9a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b17cc2",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 285.429,
    "s": 36.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6647,
    "c": 0.11621,
    "h": 317.7
  },
  "luminance": 0.27657
}

Semantic roles & 50–950 ramp

primary
#B17CC2
secondary
#C6DAC0
accent
#AF3654
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83

Preview Lab

Preview with #B17CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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