#B931C1#B931C1

#B931C1 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.231 H 325.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B931C1
RGBrgb(185, 49, 193)
HSLhsl(297, 60%, 47%)
HSVhsv(297, 75%, 76%)
CMYKcmyk(4.1%, 74.6%, 0%, 24.3%)
CIE-LABlab(47.45, 69.69, -46.92)
CIE-LCHlch(47.45, 84.02, 326.05°)
OKLaboklab(57.74% 0.1906 -0.1306)
OKLCHoklch(57.74% 0.231 325.6)
XYZxyz(30.7309, 16.3632, 51.9815)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931C1 #39C131
analogous
#7131C1 #B931C1 #C13181
triadic
#B931C1 #C1B931 #31C1B9
tetradic
#B931C1 #C17131 #39C131 #3181C1
square
#B931C1 #C17131 #39C131 #3181C1
split-complementary
#B931C1 #81C131 #31C171
monochromatic
#5B185F #8A2590 #B931C1 #CE5AD5 #DD8BE2

Accessibility & contrast

On white

4.92
#B931C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B931C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931C1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931C1#FFFFFF#000000##FFFFFF
##B931C11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#BD4A77
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b931c1;
/* rgb */ color: rgb(185, 49, 193);
/* oklch */ color: oklch(57.7% 0.231 325.6);
Tailwind
colors: {
  custom: {
    50: '#d278d4',
    500: '#b931c1',
    950: '#000000',
  },
}
SCSS
$custom: #b931c1;
$custom-light: #d278d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b931c1",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 296.667,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57743,
    "c": 0.23104,
    "h": 325.6
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#B931C1
secondary
#86CC82
accent
#E3454E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B931C1

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

Preview Lab → · Contrast checker → · Palette generator →

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