#B04BB8#B04BB8

#B04BB8 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.187 H 324.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B04BB8
RGBrgb(176, 75, 184)
HSLhsl(296, 43%, 51%)
HSVhsv(296, 59%, 72%)
CMYKcmyk(4.3%, 59.2%, 0%, 27.8%)
CIE-LABlab(49.16, 56.02, -39.05)
CIE-LCHlch(49.16, 68.29, 325.12°)
OKLaboklab(58.55% 0.1526 -0.1081)
OKLCHoklch(58.55% 0.187 324.7)
XYZxyz(29.0716, 17.7246, 47.2280)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BB8 #53B84B
analogous
#794BB8 #B04BB8 #B84B89
triadic
#B04BB8 #B8B04B #4BB8B0
tetradic
#B04BB8 #B8794B #53B84B #4B89B8
square
#B04BB8 #B8794B #53B84B #4B89B8
split-complementary
#B04BB8 #89B84B #4BB879
monochromatic
#5E2762 #88388E #B04BB8 #C377C9 #D7A3DB

Accessibility & contrast

On white

4.62
#B04BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B04BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BB8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BB8#FFFFFF#000000##FFFFFF
##B04BB81.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBB
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#B45A7B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04bb8;
/* rgb */ color: rgb(176, 75, 184);
/* oklch */ color: oklch(58.5% 0.187 324.7);
Tailwind
colors: {
  custom: {
    50: '#ca83ce',
    500: '#b04bb8',
    950: '#000000',
  },
}
SCSS
$custom: #b04bb8;
$custom-light: #ca83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bb8",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 295.596,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58547,
    "c": 0.18702,
    "h": 324.7
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#B04BB8
secondary
#9BC897
accent
#D3555E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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