#B371BB#B371BB

#B371BB is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.5% C 0.129 H 323.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B371BB
RGBrgb(179, 113, 187)
HSLhsl(294, 35%, 59%)
HSVhsv(294, 40%, 73%)
CMYKcmyk(4.3%, 39.6%, 0%, 26.7%)
CIE-LABlab(57.06, 38.15, -28.40)
CIE-LCHlch(57.06, 47.56, 323.33°)
OKLaboklab(64.53% 0.1033 -0.0778)
OKLCHoklch(64.53% 0.129 323)
XYZxyz(33.4642, 24.9831, 50.0635)
Luminance0.2498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371BB #79BB71
analogous
#8E71BB #B371BB #BB719E
triadic
#B371BB #BBB371 #71BBB3
tetradic
#B371BB #BB8E71 #79BB71 #719EBB
square
#B371BB #BB8E71 #79BB71 #719EBB
split-complementary
#B371BB #9EBB71 #71BB8E
monochromatic
#713A78 #984DA1 #B371BB #C99ACF #DFC4E3

Accessibility & contrast

On white

3.50
#B371BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B371BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371BB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371BB#FFFFFF#000000##000000
##B371BB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#B5798D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b371bb;
/* rgb */ color: rgb(179, 113, 187);
/* oklch */ color: oklch(64.5% 0.129 323.0);
Tailwind
colors: {
  custom: {
    50: '#cb9bcf',
    500: '#b371bb',
    950: '#000000',
  },
}
SCSS
$custom: #b371bb;
$custom-light: #cb9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b371bb",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 293.514,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64525,
    "c": 0.12928,
    "h": 323
  },
  "luminance": 0.24982
}

Semantic roles & 50–950 ramp

primary
#B371BB
secondary
#B8D2B5
accent
#CB5D68
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B371BB

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

Preview Lab → · Contrast checker → · Palette generator →

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