#B031C0#B031C0

#B031C0 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.226 H 323.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B031C0
RGBrgb(176, 49, 192)
HSLhsl(293, 59%, 47%)
HSVhsv(293, 74%, 75%)
CMYKcmyk(8.3%, 74.5%, 0%, 24.7%)
CIE-LABlab(45.95, 67.68, -48.81)
CIE-LCHlch(45.95, 83.45, 324.20°)
OKLaboklab(56.38% 0.1807 -0.1363)
OKLCHoklch(56.38% 0.226 323)
XYZxyz(28.5163, 15.2342, 51.2974)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031C0 #41C031
analogous
#6931C0 #B031C0 #C03188
triadic
#B031C0 #C0B031 #31C0B0
tetradic
#B031C0 #C06931 #41C031 #3188C0
square
#B031C0 #C06931 #41C031 #3188C0
split-complementary
#B031C0 #88C031 #31C069
monochromatic
#57185E #83258F #B031C0 #C759D5 #D78AE1

Accessibility & contrast

On white

5.19
#B031C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B031C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031C0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031C0#FFFFFF#000000##FFFFFF
##B031C01.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#B34C77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b031c0;
/* rgb */ color: rgb(176, 49, 192);
/* oklch */ color: oklch(56.4% 0.226 323.0);
Tailwind
colors: {
  custom: {
    50: '#cc77d4',
    500: '#b031c0',
    950: '#000000',
  },
}
SCSS
$custom: #b031c0;
$custom-light: #cc77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b031c0",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 293.287,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.22637,
    "h": 323
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#B031C0
secondary
#8ACB82
accent
#E34557
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B031C0

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

Preview Lab → · Contrast checker → · Palette generator →

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