#B931C2#B931C2

#B931C2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.232 H 325.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B931C2
RGBrgb(185, 49, 194)
HSLhsl(296, 60%, 48%)
HSVhsv(296, 75%, 76%)
CMYKcmyk(4.6%, 74.7%, 0%, 23.9%)
CIE-LABlab(47.51, 69.86, -47.41)
CIE-LCHlch(47.51, 84.43, 325.84°)
OKLaboklab(57.8% 0.1906 -0.132)
OKLCHoklch(57.8% 0.232 325.3)
XYZxyz(30.8428, 16.4080, 52.5710)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931C2 #3AC231
analogous
#7131C2 #B931C2 #C23182
triadic
#B931C2 #C2B931 #31C2B9
tetradic
#B931C2 #C27131 #3AC231 #3182C2
square
#B931C2 #C27131 #3AC231 #3182C2
split-complementary
#B931C2 #82C231 #31C271
monochromatic
#5C1860 #8A2591 #B931C2 #CE5BD6 #DC8CE2

Accessibility & contrast

On white

4.91
#B931C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B931C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931C2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931C2#FFFFFF#000000##FFFFFF
##B931C21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#5176BF
Tritanopia (blue-blind)
#BD4B78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b931c2;
/* rgb */ color: rgb(185, 49, 194);
/* oklch */ color: oklch(57.8% 0.232 325.3);
Tailwind
colors: {
  custom: {
    50: '#d278d5',
    500: '#b931c2',
    950: '#000000',
  },
}
SCSS
$custom: #b931c2;
$custom-light: #d278d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b931c2",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 296.276,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57803,
    "c": 0.2318,
    "h": 325.3
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#B931C2
secondary
#87CC83
accent
#E3454F
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B931C2

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

Preview Lab → · Contrast checker → · Palette generator →

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