#B04CBA#B04CBA

#B04CBA is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.187 H 323.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B04CBA
RGBrgb(176, 76, 186)
HSLhsl(295, 44%, 51%)
HSVhsv(295, 59%, 73%)
CMYKcmyk(5.4%, 59.1%, 0%, 27.1%)
CIE-LABlab(49.43, 55.93, -39.79)
CIE-LCHlch(49.43, 68.64, 324.57°)
OKLaboklab(58.78% 0.1515 -0.1103)
OKLCHoklch(58.78% 0.187 323.9)
XYZxyz(29.3511, 17.9458, 48.3627)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CBA #56BA4C
analogous
#794CBA #B04CBA #BA4C8D
triadic
#B04CBA #BAB04C #4CBAB0
tetradic
#B04CBA #BA794C #56BA4C #4C8DBA
square
#B04CBA #BA794C #56BA4C #4C8DBA
split-complementary
#B04CBA #8DBA4C #4CBA79
monochromatic
#5F2765 #893891 #B04CBA #C378CB #D7A4DC

Accessibility & contrast

On white

4.58
#B04CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B04CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CBA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CBA#FFFFFF#000000##000000
##B04CBA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#396EBD
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#B35B7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04cba;
/* rgb */ color: rgb(176, 76, 186);
/* oklch */ color: oklch(58.8% 0.187 323.9);
Tailwind
colors: {
  custom: {
    50: '#ca84cf',
    500: '#b04cba',
    950: '#000000',
  },
}
SCSS
$custom: #b04cba;
$custom-light: #ca84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cba",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 294.545,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58777,
    "c": 0.18737,
    "h": 323.9
  },
  "luminance": 0.17944
}

Semantic roles & 50–950 ramp

primary
#B04CBA
secondary
#9DC999
accent
#D4545F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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