#B17FC2#B17FC2

#B17FC2 is a light, moderate purple. Relative luminance 0.284; OKLCH L 67.0% C 0.111 H 317.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B17FC2
RGBrgb(177, 127, 194)
HSLhsl(285, 35%, 63%)
HSVhsv(285, 35%, 76%)
CMYKcmyk(8.8%, 34.5%, 0%, 23.9%)
CIE-LABlab(60.27, 31.19, -27.44)
CIE-LCHlch(60.27, 41.55, 318.66°)
OKLaboklab(66.99% 0.0815 -0.0752)
OKLCHoklch(66.99% 0.111 317.3)
XYZxyz(35.4570, 28.4217, 54.6466)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17FC2 #90C27F
analogous
#8F7FC2 #B17FC2 #C27FB1
triadic
#B17FC2 #C2B17F #7FC2B1
tetradic
#B17FC2 #C28F7F #90C27F #7FB1C2
square
#B17FC2 #C28F7F #90C27F #7FB1C2
split-complementary
#B17FC2 #B1C27F #7FC28F
monochromatic
#754087 #9856AE #B17FC2 #CAA8D6 #E4D2EA

Accessibility & contrast

On white

3.14
#B17FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B17FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17FC2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17FC2#FFFFFF#000000##000000
##B17FC21.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC5
Deuteranopia (green-blind)
#8193C0
Tritanopia (blue-blind)
#B18798
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b17fc2;
/* rgb */ color: rgb(177, 127, 194);
/* oklch */ color: oklch(67.0% 0.111 317.3);
Tailwind
colors: {
  custom: {
    50: '#c9a5d4',
    500: '#b17fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b17fc2;
$custom-light: #c9a5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b17fc2",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 284.776,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66992,
    "c": 0.11085,
    "h": 317.3
  },
  "luminance": 0.28421
}

Semantic roles & 50–950 ramp

primary
#B17FC2
secondary
#C8DAC2
accent
#AE3755
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83

Preview Lab

Preview with #B17FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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