#B04BB1#B04BB1

#B04BB1 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.181 H 327.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B04BB1
RGBrgb(176, 75, 177)
HSLhsl(299, 40%, 49%)
HSVhsv(299, 58%, 69%)
CMYKcmyk(0.6%, 57.6%, 0%, 30.6%)
CIE-LABlab(48.81, 54.75, -35.52)
CIE-LCHlch(48.81, 65.26, 327.03°)
OKLaboklab(58.18% 0.152 -0.0979)
OKLCHoklch(58.18% 0.181 327.2)
XYZxyz(28.3559, 17.4383, 43.4588)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BB1 #4CB14B
analogous
#7D4BB1 #B04BB1 #B14B7F
triadic
#B04BB1 #B1B04B #4BB1B0
tetradic
#B04BB1 #B17D4B #4CB14B #4B7FB1
square
#B04BB1 #B17D4B #4CB14B #4B7FB1
split-complementary
#B04BB1 #7FB14B #4BB17D
monochromatic
#5B275B #853986 #B04BB1 #C475C4 #D6A0D7

Accessibility & contrast

On white

4.68
#B04BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B04BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BB1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BB1#FFFFFF#000000##FFFFFF
##B04BB11.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB4
Deuteranopia (green-blind)
#6179AE
Tritanopia (blue-blind)
#B55777
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04bb1;
/* rgb */ color: rgb(176, 75, 177);
/* oklch */ color: oklch(58.2% 0.181 327.2);
Tailwind
colors: {
  custom: {
    50: '#ca83c8',
    500: '#b04bb1',
    950: '#000000',
  },
}
SCSS
$custom: #b04bb1;
$custom-light: #ca83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bb1",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 299.412,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.1808,
    "h": 327.2
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#B04BB1
secondary
#95C394
accent
#D05759
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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