#B04BB6#B04BB6

#B04BB6 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.4% C 0.185 H 325.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B04BB6
RGBrgb(176, 75, 182)
HSLhsl(297, 42%, 50%)
HSVhsv(297, 59%, 71%)
CMYKcmyk(3.3%, 58.8%, 0%, 28.6%)
CIE-LABlab(49.06, 55.65, -38.04)
CIE-LCHlch(49.06, 67.42, 325.64°)
OKLaboklab(58.44% 0.1525 -0.1052)
OKLCHoklch(58.44% 0.185 325.4)
XYZxyz(28.8634, 17.6413, 46.1317)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BB6 #51B64B
analogous
#7B4BB6 #B04BB6 #B64B86
triadic
#B04BB6 #B6B04B #4BB6B0
tetradic
#B04BB6 #B67B4B #51B64B #4B86B6
square
#B04BB6 #B67B4B #51B64B #4B86B6
split-complementary
#B04BB6 #86B64B #4BB67B
monochromatic
#5D2760 #87388B #B04BB6 #C377C8 #D6A2D9

Accessibility & contrast

On white

4.64
#B04BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B04BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BB6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BB6#FFFFFF#000000##FFFFFF
##B04BB61.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DB9
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#B45979
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04bb6;
/* rgb */ color: rgb(176, 75, 182);
/* oklch */ color: oklch(58.4% 0.185 325.4);
Tailwind
colors: {
  custom: {
    50: '#ca83cc',
    500: '#b04bb6',
    950: '#000000',
  },
}
SCSS
$custom: #b04bb6;
$custom-light: #ca83cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bb6",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 296.636,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.18524,
    "h": 325.4
  },
  "luminance": 0.1764
}

Semantic roles & 50–950 ramp

primary
#B04BB6
secondary
#99C697
accent
#D2565D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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