#B04CB0#B04CB0

#B04CB0 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.178 H 327.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B04CB0
RGBrgb(176, 76, 176)
HSLhsl(300, 40%, 49%)
HSVhsv(300, 57%, 69%)
CMYKcmyk(0%, 56.8%, 0%, 31%)
CIE-LABlab(48.93, 54.11, -34.74)
CIE-LCHlch(48.93, 64.31, 327.30°)
OKLaboklab(58.25% 0.1506 -0.0957)
OKLCHoklch(58.25% 0.178 327.6)
XYZxyz(28.3250, 17.5353, 42.9586)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CB0 #4CB04C
analogous
#7E4CB0 #B04CB0 #B04C7E
triadic
#B04CB0 #B0B04C #4CB0B0
tetradic
#B04CB0 #B07E4C #4CB04C #4C7EB0
square
#B04CB0 #B07E4C #4CB04C #4C7EB0
split-complementary
#B04CB0 #7EB04C #4CB07E
monochromatic
#5B275B #853A85 #B04CB0 #C476C4 #D6A0D6

Accessibility & contrast

On white

4.66
#B04CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B04CB0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CB0#FFFFFF#000000##FFFFFF
##B04CB01.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b04cb0;
/* rgb */ color: rgb(176, 76, 176);
/* oklch */ color: oklch(58.2% 0.178 327.6);
Tailwind
colors: {
  custom: {
    50: '#ca84c8',
    500: '#b04cb0',
    950: '#000000',
  },
}
SCSS
$custom: #b04cb0;
$custom-light: #ca84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cb0",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.17842,
    "h": 327.6
  },
  "luminance": 0.17534
}

Semantic roles & 50–950 ramp

primary
#B04CB0
secondary
#95C395
accent
#D05858
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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