#B04BB5#B04BB5

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

Color values

HEX#B04BB5
RGBrgb(176, 75, 181)
HSLhsl(297, 42%, 50%)
HSVhsv(297, 59%, 71%)
CMYKcmyk(2.8%, 58.6%, 0%, 29%)
CIE-LABlab(49.01, 55.47, -37.54)
CIE-LCHlch(49.01, 66.98, 325.91°)
OKLaboklab(58.39% 0.1524 -0.1038)
OKLCHoklch(58.39% 0.184 325.7)
XYZxyz(28.7605, 17.6001, 45.5894)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BB5 #50B54B
analogous
#7B4BB5 #B04BB5 #B54B85
triadic
#B04BB5 #B5B04B #4BB5B0
tetradic
#B04BB5 #B57B4B #50B54B #4B85B5
square
#B04BB5 #B57B4B #50B54B #4B85B5
split-complementary
#B04BB5 #85B54B #4BB57B
monochromatic
#5C275F #86398A #B04BB5 #C376C7 #D6A2D9

Accessibility & contrast

On white

4.65
#B04BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B04BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BB5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BB5#FFFFFF#000000##FFFFFF
##B04BB51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB8
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#B45979
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04bb5;
/* rgb */ color: rgb(176, 75, 181);
/* oklch */ color: oklch(58.4% 0.184 325.7);
Tailwind
colors: {
  custom: {
    50: '#ca83cb',
    500: '#b04bb5',
    950: '#000000',
  },
}
SCSS
$custom: #b04bb5;
$custom-light: #ca83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bb5",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 297.17,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.18434,
    "h": 325.7
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#B04BB5
secondary
#98C696
accent
#D2565C
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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