#B931C5#B931C5

#B931C5 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.0% C 0.234 H 324.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B931C5
RGBrgb(185, 49, 197)
HSLhsl(295, 60%, 48%)
HSVhsv(295, 75%, 77%)
CMYKcmyk(6.1%, 75.1%, 0%, 22.7%)
CIE-LABlab(47.68, 70.37, -48.87)
CIE-LCHlch(47.68, 85.67, 325.22°)
OKLaboklab(57.98% 0.1904 -0.1363)
OKLCHoklch(57.98% 0.234 324.4)
XYZxyz(31.1831, 16.5441, 54.3634)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931C5 #3DC531
analogous
#6F31C5 #B931C5 #C53187
triadic
#B931C5 #C5B931 #31C5B9
tetradic
#B931C5 #C56F31 #3DC531 #3187C5
square
#B931C5 #C56F31 #3DC531 #3187C5
split-complementary
#B931C5 #87C531 #31C56F
monochromatic
#5D1963 #8B2594 #B931C5 #CD5DD7 #DC8EE3

Accessibility & contrast

On white

4.87
#B931C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B931C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931C5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931C5#FFFFFF#000000##FFFFFF
##B931C51.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#4F77C2
Tritanopia (blue-blind)
#BD4C7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b931c5;
/* rgb */ color: rgb(185, 49, 197);
/* oklch */ color: oklch(58.0% 0.234 324.4);
Tailwind
colors: {
  custom: {
    50: '#d278d7',
    500: '#b931c5',
    950: '#000000',
  },
}
SCSS
$custom: #b931c5;
$custom-light: #d278d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b931c5",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 295.135,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.23414,
    "h": 324.4
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#B931C5
secondary
#8BCD85
accent
#E34451
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B931C5

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

Preview Lab → · Contrast checker → · Palette generator →

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