#B031D3#B031D3

#B031D3 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.6% C 0.242 H 317.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B031D3
RGBrgb(176, 49, 211)
HSLhsl(287, 65%, 51%)
HSVhsv(287, 77%, 83%)
CMYKcmyk(16.6%, 76.8%, 0%, 17.3%)
CIE-LABlab(47.15, 71.10, -57.88)
CIE-LCHlch(47.15, 91.68, 320.85°)
OKLaboklab(57.61% 0.1788 -0.1629)
OKLCHoklch(57.61% 0.242 317.7)
XYZxyz(30.7590, 16.1313, 63.1088)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031D3 #54D331
analogous
#5F31D3 #B031D3 #D331A5
triadic
#B031D3 #D3B031 #31D3B0
tetradic
#B031D3 #D35F31 #54D331 #31A5D3
square
#B031D3 #D35F31 #54D331 #31A5D3
split-complementary
#B031D3 #A5D331 #31D35F
monochromatic
#5E1871 #8823A4 #B031D3 #C363DE #D796E9

Accessibility & contrast

On white

4.97
#B031D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B031D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031D3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031D3#FFFFFF#000000##FFFFFF
##B031D31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#3674CF
Tritanopia (blue-blind)
#AF5581
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b031d3;
/* rgb */ color: rgb(176, 49, 211);
/* oklch */ color: oklch(57.6% 0.242 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc77e1',
    500: '#b031d3',
    950: '#000000',
  },
}
SCSS
$custom: #b031d3;
$custom-light: #cc77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b031d3",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 211
  },
  "hsl": {
    "h": 287.037,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57607,
    "c": 0.24186,
    "h": 317.7
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#B031D3
secondary
#9CD48C
accent
#E84064
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B031D3

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

Preview Lab → · Contrast checker → · Palette generator →

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