#B931C4#B931C4

#B931C4 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.233 H 324.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B931C4
RGBrgb(185, 49, 196)
HSLhsl(296, 60%, 48%)
HSVhsv(296, 75%, 77%)
CMYKcmyk(5.6%, 75%, 0%, 23.1%)
CIE-LABlab(47.62, 70.20, -48.38)
CIE-LCHlch(47.62, 85.26, 325.42°)
OKLaboklab(57.92% 0.1905 -0.1348)
OKLCHoklch(57.92% 0.233 324.7)
XYZxyz(31.0689, 16.4984, 53.7619)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931C4 #3CC431
analogous
#6F31C4 #B931C4 #C43185
triadic
#B931C4 #C4B931 #31C4B9
tetradic
#B931C4 #C46F31 #3CC431 #3185C4
square
#B931C4 #C46F31 #3CC431 #3185C4
split-complementary
#B931C4 #85C431 #31C46F
monochromatic
#5D1962 #8B2593 #B931C4 #CD5CD6 #DC8DE2

Accessibility & contrast

On white

4.88
#B931C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B931C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931C4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931C4#FFFFFF#000000##FFFFFF
##B931C41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#4F76C1
Tritanopia (blue-blind)
#BD4C79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b931c4;
/* rgb */ color: rgb(185, 49, 196);
/* oklch */ color: oklch(57.9% 0.233 324.7);
Tailwind
colors: {
  custom: {
    50: '#d278d6',
    500: '#b931c4',
    950: '#000000',
  },
}
SCSS
$custom: #b931c4;
$custom-light: #d278d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b931c4",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 295.51,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.23336,
    "h": 324.7
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#B931C4
secondary
#89CD84
accent
#E34551
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B931C4

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

Preview Lab → · Contrast checker → · Palette generator →

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