#B031B3#B031B3

#B031B3 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.216 H 327.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B031B3
RGBrgb(176, 49, 179)
HSLhsl(299, 57%, 45%)
HSVhsv(299, 73%, 70%)
CMYKcmyk(1.7%, 72.6%, 0%, 29.8%)
CIE-LABlab(45.20, 65.47, -42.40)
CIE-LCHlch(45.20, 78.00, 327.07°)
OKLaboklab(55.6% 0.1812 -0.1177)
OKLCHoklch(55.6% 0.216 327)
XYZxyz(27.1390, 14.6833, 44.0438)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031B3 #34B331
analogous
#6F31B3 #B031B3 #B33175
triadic
#B031B3 #B3B031 #31B3B0
tetradic
#B031B3 #B36F31 #34B331 #3175B3
square
#B031B3 #B36F31 #34B331 #3175B3
split-complementary
#B031B3 #75B331 #31B36F
monochromatic
#521753 #812483 #B031B3 #CD52D0 #DB82DD

Accessibility & contrast

On white

5.34
#B031B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B031B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031B3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031B3#FFFFFF#000000##FFFFFF
##B031B31.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#5171B0
Tritanopia (blue-blind)
#B5466F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b031b3;
/* rgb */ color: rgb(176, 49, 179);
/* oklch */ color: oklch(55.6% 0.216 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb76ca',
    500: '#b031b3',
    950: '#000000',
  },
}
SCSS
$custom: #b031b3;
$custom-light: #cb76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b031b3",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 298.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.21607,
    "h": 327
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#B031B3
secondary
#7CC67A
accent
#E0484B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #B031B3

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

Preview Lab → · Contrast checker → · Palette generator →

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