#B371C8#B371C8

#B371C8 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.1% C 0.143 H 317.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B371C8
RGBrgb(179, 113, 200)
HSLhsl(286, 44%, 61%)
HSVhsv(286, 44%, 78%)
CMYKcmyk(10.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(57.62, 40.77, -34.94)
CIE-LCHlch(57.62, 53.69, 319.41°)
OKLaboklab(65.13% 0.1059 -0.0965)
OKLCHoklch(65.13% 0.143 317.7)
XYZxyz(34.9194, 25.5651, 57.7275)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371C8 #86C871
analogous
#8871C8 #B371C8 #C871B2
triadic
#B371C8 #C8B371 #71C8B3
tetradic
#B371C8 #C88871 #86C871 #71B2C8
square
#B371C8 #C88871 #86C871 #71B2C8
split-complementary
#B371C8 #B2C871 #71C888
monochromatic
#753589 #9B46B6 #B371C8 #CB9DD9 #E2C9EA

Accessibility & contrast

On white

3.44
#B371C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B371C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371C8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371C8#FFFFFF#000000##000000
##B371C81.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CB
Deuteranopia (green-blind)
#748DC5
Tritanopia (blue-blind)
#B37D93
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b371c8;
/* rgb */ color: rgb(179, 113, 200);
/* oklch */ color: oklch(65.1% 0.143 317.7);
Tailwind
colors: {
  custom: {
    50: '#cb9bd9',
    500: '#b371c8',
    950: '#000000',
  },
}
SCSS
$custom: #b371c8;
$custom-light: #cb9bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b371c8",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 285.517,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65132,
    "c": 0.14325,
    "h": 317.7
  },
  "luminance": 0.25564
}

Semantic roles & 50–950 ramp

primary
#B371C8
secondary
#C2DBBA
accent
#B72E4F
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #B371C8

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

Preview Lab → · Contrast checker → · Palette generator →

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