#B04CB1#B04CB1

#B04CB1 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.3% C 0.179 H 327.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B04CB1
RGBrgb(176, 76, 177)
HSLhsl(299, 40%, 50%)
HSVhsv(299, 57%, 69%)
CMYKcmyk(0.6%, 57.1%, 0%, 30.6%)
CIE-LABlab(48.98, 54.29, -35.25)
CIE-LCHlch(48.98, 64.73, 327.00°)
OKLaboklab(58.3% 0.1507 -0.0972)
OKLCHoklch(58.3% 0.179 327.2)
XYZxyz(28.4243, 17.5750, 43.4816)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CB1 #4DB14C
analogous
#7E4CB1 #B04CB1 #B14C80
triadic
#B04CB1 #B1B04C #4CB1B0
tetradic
#B04CB1 #B17E4C #4DB14C #4C80B1
square
#B04CB1 #B17E4C #4DB14C #4C80B1
split-complementary
#B04CB1 #80B14C #4CB17E
monochromatic
#5B275B #853A86 #B04CB1 #C376C4 #D6A1D7

Accessibility & contrast

On white

4.65
#B04CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B04CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CB1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CB1#FFFFFF#000000##FFFFFF
##B04CB11.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416CB4
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#B55877
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04cb1;
/* rgb */ color: rgb(176, 76, 177);
/* oklch */ color: oklch(58.3% 0.179 327.2);
Tailwind
colors: {
  custom: {
    50: '#ca84c8',
    500: '#b04cb1',
    950: '#000000',
  },
}
SCSS
$custom: #b04cb1;
$custom-light: #ca84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cb1",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 299.406,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.1793,
    "h": 327.2
  },
  "luminance": 0.17573
}

Semantic roles & 50–950 ramp

primary
#B04CB1
secondary
#96C395
accent
#D05859
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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