#B04CBD#B04CBD

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

Color values

HEX#B04CBD
RGBrgb(176, 76, 189)
HSLhsl(293, 46%, 52%)
HSVhsv(293, 60%, 74%)
CMYKcmyk(6.9%, 59.8%, 0%, 25.9%)
CIE-LABlab(49.59, 56.49, -41.28)
CIE-LCHlch(49.59, 69.97, 323.84°)
OKLaboklab(58.94% 0.1517 -0.1146)
OKLCHoklch(58.94% 0.19 322.9)
XYZxyz(29.6733, 18.0747, 50.0600)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CBD #59BD4C
analogous
#784CBD #B04CBD #BD4C92
triadic
#B04CBD #BDB04C #4CBDB0
tetradic
#B04CBD #BD784C #59BD4C #4C92BD
square
#B04CBD #BD784C #59BD4C #4C92BD
split-complementary
#B04CBD #92BD4C #4CBD78
monochromatic
#612668 #8A3795 #B04CBD #C479CD #D7A5DE

Accessibility & contrast

On white

4.55
#B04CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04CBD#FFFFFF#000000##000000
##B04CBD1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#376EC0
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#B35D7D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04cbd;
/* rgb */ color: rgb(176, 76, 189);
/* oklch */ color: oklch(58.9% 0.190 322.9);
Tailwind
colors: {
  custom: {
    50: '#ca84d1',
    500: '#b04cbd',
    950: '#000000',
  },
}
SCSS
$custom: #b04cbd;
$custom-light: #ca84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cbd",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 293.097,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58942,
    "c": 0.19011,
    "h": 322.9
  },
  "luminance": 0.18073
}

Semantic roles & 50–950 ramp

primary
#B04CBD
secondary
#9FCB9A
accent
#D65261
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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