#B031B5#B031B5

#B031B5 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.218 H 326.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B031B5
RGBrgb(176, 49, 181)
HSLhsl(298, 57%, 45%)
HSVhsv(298, 73%, 71%)
CMYKcmyk(2.8%, 72.9%, 0%, 29%)
CIE-LABlab(45.31, 65.80, -43.40)
CIE-LCHlch(45.31, 78.82, 326.59°)
OKLaboklab(55.72% 0.1812 -0.1206)
OKLCHoklch(55.72% 0.218 326.4)
XYZxyz(27.3428, 14.7648, 45.1168)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031B5 #36B531
analogous
#6E31B5 #B031B5 #B53178
triadic
#B031B5 #B5B031 #31B5B0
tetradic
#B031B5 #B56E31 #36B531 #3178B5
square
#B031B5 #B56E31 #36B531 #3178B5
split-complementary
#B031B5 #78B531 #31B56E
monochromatic
#521755 #812485 #B031B5 #CC53D0 #DA83DD

Accessibility & contrast

On white

5.31
#B031B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B031B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031B5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031B5#FFFFFF#000000##FFFFFF
##B031B51.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C61B9
Deuteranopia (green-blind)
#5071B2
Tritanopia (blue-blind)
#B54771
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b031b5;
/* rgb */ color: rgb(176, 49, 181);
/* oklch */ color: oklch(55.7% 0.218 326.4);
Tailwind
colors: {
  custom: {
    50: '#cb76cc',
    500: '#b031b5',
    950: '#000000',
  },
}
SCSS
$custom: #b031b5;
$custom-light: #cb76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b031b5",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 297.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.21764,
    "h": 326.4
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#B031B5
secondary
#7EC77B
accent
#E1474D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #B031B5

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

Preview Lab → · Contrast checker → · Palette generator →

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