#B371BD#B371BD

#B371BD is a light, vivid purple. Relative luminance 0.251; OKLCH L 64.6% C 0.131 H 322.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B371BD
RGBrgb(179, 113, 189)
HSLhsl(292, 37%, 59%)
HSVhsv(292, 40%, 74%)
CMYKcmyk(5.3%, 40.2%, 0%, 25.9%)
CIE-LABlab(57.14, 38.55, -29.42)
CIE-LCHlch(57.14, 48.49, 322.65°)
OKLaboklab(64.61% 0.1037 -0.0806)
OKLCHoklch(64.61% 0.131 322.1)
XYZxyz(33.6798, 25.0693, 51.1990)
Luminance0.2507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371BD #7BBD71
analogous
#8D71BD #B371BD #BD71A1
triadic
#B371BD #BDB371 #71BDB3
tetradic
#B371BD #BD8D71 #7BBD71 #71A1BD
square
#B371BD #BD8D71 #7BBD71 #71A1BD
split-complementary
#B371BD #A1BD71 #71BD8D
monochromatic
#72397B #994CA4 #B371BD #C99BD0 #E0C5E4

Accessibility & contrast

On white

3.49
#B371BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B371BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371BD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371BD#FFFFFF#000000##000000
##B371BD1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884C0
Deuteranopia (green-blind)
#798CBB
Tritanopia (blue-blind)
#B57A8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b371bd;
/* rgb */ color: rgb(179, 113, 189);
/* oklch */ color: oklch(64.6% 0.131 322.1);
Tailwind
colors: {
  custom: {
    50: '#cb9bd1',
    500: '#b371bd',
    950: '#000000',
  },
}
SCSS
$custom: #b371bd;
$custom-light: #cb9bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b371bd",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 292.105,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64615,
    "c": 0.13138,
    "h": 322.1
  },
  "luminance": 0.25068
}

Semantic roles & 50–950 ramp

primary
#B371BD
secondary
#BAD4B6
accent
#CD5B6A
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B371BD

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

Preview Lab → · Contrast checker → · Palette generator →

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