#B371C2#B371C2

#B371C2 is a light, vivid purple. Relative luminance 0.253; OKLCH L 64.8% C 0.137 H 320.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B371C2
RGBrgb(179, 113, 194)
HSLhsl(289, 40%, 60%)
HSVhsv(289, 42%, 76%)
CMYKcmyk(7.7%, 41.8%, 0%, 23.9%)
CIE-LABlab(57.36, 39.55, -31.94)
CIE-LCHlch(57.36, 50.83, 321.08°)
OKLaboklab(64.85% 0.1048 -0.0878)
OKLCHoklch(64.85% 0.137 320)
XYZxyz(34.2319, 25.2902, 54.1067)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371C2 #80C271
analogous
#8B71C2 #B371C2 #C271A8
triadic
#B371C2 #C2B371 #71C2B3
tetradic
#B371C2 #C28B71 #80C271 #71A8C2
square
#B371C2 #C28B71 #80C271 #71A8C2
split-complementary
#B371C2 #A8C271 #71C28B
monochromatic
#733781 #9A4AAC #B371C2 #CA9CD4 #E1C7E7

Accessibility & contrast

On white

3.47
#B371C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B371C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371C2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371C2#FFFFFF#000000##000000
##B371C21.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6685C5
Deuteranopia (green-blind)
#778CC0
Tritanopia (blue-blind)
#B47B90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b371c2;
/* rgb */ color: rgb(179, 113, 194);
/* oklch */ color: oklch(64.8% 0.137 320.0);
Tailwind
colors: {
  custom: {
    50: '#cb9bd4',
    500: '#b371c2',
    950: '#000000',
  },
}
SCSS
$custom: #b371c2;
$custom-light: #cb9bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b371c2",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 288.889,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64846,
    "c": 0.13671,
    "h": 320
  },
  "luminance": 0.25289
}

Semantic roles & 50–950 ramp

primary
#B371C2
secondary
#BED7B8
accent
#B3334A
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #B371C2

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

Preview Lab → · Contrast checker → · Palette generator →

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