#B04BB9#B04BB9

#B04BB9 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.188 H 324.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B04BB9
RGBrgb(176, 75, 185)
HSLhsl(295, 44%, 51%)
HSVhsv(295, 59%, 73%)
CMYKcmyk(4.9%, 59.5%, 0%, 27.5%)
CIE-LABlab(49.21, 56.20, -39.55)
CIE-LCHlch(49.21, 68.72, 324.87°)
OKLaboklab(58.6% 0.1527 -0.1096)
OKLCHoklch(58.6% 0.188 324.3)
XYZxyz(29.1768, 17.7667, 47.7820)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BB9 #54B94B
analogous
#794BB9 #B04BB9 #B94B8B
triadic
#B04BB9 #B9B04B #4BB9B0
tetradic
#B04BB9 #B9794B #54B94B #4B8BB9
square
#B04BB9 #B9794B #54B94B #4B8BB9
split-complementary
#B04BB9 #8BB94B #4BB979
monochromatic
#5E2763 #88388F #B04BB9 #C377CA #D7A3DB

Accessibility & contrast

On white

4.61
#B04BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B04BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BB9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BB9#FFFFFF#000000##FFFFFF
##B04BB91.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396DBC
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#B35A7B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04bb9;
/* rgb */ color: rgb(176, 75, 185);
/* oklch */ color: oklch(58.6% 0.188 324.3);
Tailwind
colors: {
  custom: {
    50: '#ca83ce',
    500: '#b04bb9',
    950: '#000000',
  },
}
SCSS
$custom: #b04bb9;
$custom-light: #ca83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bb9",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 295.091,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.18792,
    "h": 324.3
  },
  "luminance": 0.17765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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