#B04CBC#B04CBC

#B04CBC is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.189 H 323.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B04CBC
RGBrgb(176, 76, 188)
HSLhsl(294, 46%, 52%)
HSVhsv(294, 60%, 74%)
CMYKcmyk(6.4%, 59.6%, 0%, 26.3%)
CIE-LABlab(49.53, 56.30, -40.78)
CIE-LCHlch(49.53, 69.52, 324.08°)
OKLaboklab(58.89% 0.1516 -0.1132)
OKLCHoklch(58.89% 0.189 323.3)
XYZxyz(29.5652, 18.0314, 49.4903)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CBC #58BC4C
analogous
#784CBC #B04CBC #BC4C90
triadic
#B04CBC #BCB04C #4CBCB0
tetradic
#B04CBC #BC784C #58BC4C #4C90BC
square
#B04CBC #BC784C #58BC4C #4C90BC
split-complementary
#B04CBC #90BC4C #4CBC78
monochromatic
#602767 #8A3794 #B04CBC #C479CD #D7A5DD

Accessibility & contrast

On white

4.56
#B04CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B04CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CBC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CBC#FFFFFF#000000##000000
##B04CBC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#B35C7D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04cbc;
/* rgb */ color: rgb(176, 76, 188);
/* oklch */ color: oklch(58.9% 0.189 323.3);
Tailwind
colors: {
  custom: {
    50: '#ca84d0',
    500: '#b04cbc',
    950: '#000000',
  },
}
SCSS
$custom: #b04cbc;
$custom-light: #ca84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cbc",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 293.571,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58887,
    "c": 0.18919,
    "h": 323.3
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#B04CBC
secondary
#9FCA99
accent
#D55361
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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