#B371CD#B371CD

#B371CD is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.4% C 0.149 H 315.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B371CD
RGBrgb(179, 113, 205)
HSLhsl(283, 48%, 62%)
HSVhsv(283, 45%, 80%)
CMYKcmyk(12.7%, 44.9%, 0%, 19.6%)
CIE-LABlab(57.85, 41.81, -37.42)
CIE-LCHlch(57.85, 56.11, 318.17°)
OKLaboklab(65.38% 0.1068 -0.1036)
OKLCHoklch(65.38% 0.149 315.9)
XYZxyz(35.5133, 25.8027, 60.8554)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371CD #8BCD71
analogous
#8571CD #B371CD #CD71B9
triadic
#B371CD #CDB371 #71CDB3
tetradic
#B371CD #CD8571 #8BCD71 #71B9CD
square
#B371CD #CD8571 #8BCD71 #71B9CD
split-complementary
#B371CD #B9CD71 #71CD85
monochromatic
#763391 #9B44BD #B371CD #CB9EDD #E3CCED

Accessibility & contrast

On white

3.41
#B371CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B371CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371CD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371CD#FFFFFF#000000##000000
##B371CD1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D0
Deuteranopia (green-blind)
#728DCA
Tritanopia (blue-blind)
#B27E95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b371cd;
/* rgb */ color: rgb(179, 113, 205);
/* oklch */ color: oklch(65.4% 0.149 315.9);
Tailwind
colors: {
  custom: {
    50: '#cb9bdc',
    500: '#b371cd',
    950: '#000000',
  },
}
SCSS
$custom: #b371cd;
$custom-light: #cb9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b371cd",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 283.043,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65376,
    "c": 0.14876,
    "h": 315.9
  },
  "luminance": 0.25802
}

Semantic roles & 50–950 ramp

primary
#B371CD
secondary
#C6DEBC
accent
#BB2A53
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B371CD

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

Preview Lab → · Contrast checker → · Palette generator →

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