#B041BF#B041BF

#B041BF is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.207 H 322.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B041BF
RGBrgb(176, 65, 191)
HSLhsl(293, 50%, 50%)
HSVhsv(293, 66%, 75%)
CMYKcmyk(7.9%, 66%, 0%, 25.1%)
CIE-LABlab(47.97, 61.62, -45.00)
CIE-LCHlch(47.97, 76.30, 323.86°)
OKLaboklab(57.81% 0.1647 -0.1253)
OKLCHoklch(57.81% 0.207 322.7)
XYZxyz(29.1978, 16.7739, 50.9799)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041BF #50BF41
analogous
#7141BF #B041BF #BF418F
triadic
#B041BF #BFB041 #41BFB0
tetradic
#B041BF #BF7141 #50BF41 #418FBF
square
#B041BF #BF7141 #50BF41 #418FBF
split-complementary
#B041BF #8FBF41 #41BF71
monochromatic
#5C2264 #863192 #B041BF #C36FCE #D69DDE

Accessibility & contrast

On white

4.82
#B041BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B041BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041BF#FFFFFF#000000##FFFFFF
##B041BF1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#B2567B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b041bf;
/* rgb */ color: rgb(176, 65, 191);
/* oklch */ color: oklch(57.8% 0.207 322.7);
Tailwind
colors: {
  custom: {
    50: '#cb7ed3',
    500: '#b041bf',
    950: '#000000',
  },
}
SCSS
$custom: #b041bf;
$custom-light: #cb7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#b041bf",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 292.857,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.207,
    "h": 322.7
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#B041BF
secondary
#98CA92
accent
#D94F5F
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #B041BF

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

Preview Lab → · Contrast checker → · Palette generator →

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