#B04BB0#B04BB0

#B04BB0 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.180 H 327.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B04BB0
RGBrgb(176, 75, 176)
HSLhsl(300, 40%, 49%)
HSVhsv(300, 57%, 69%)
CMYKcmyk(0%, 57.4%, 0%, 31%)
CIE-LABlab(48.76, 54.57, -35.01)
CIE-LCHlch(48.76, 64.84, 327.32°)
OKLaboklab(58.12% 0.1519 -0.0964)
OKLCHoklch(58.12% 0.18 327.6)
XYZxyz(28.2566, 17.3986, 42.9358)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BB0 #4BB04B
analogous
#7E4BB0 #B04BB0 #B04B7E
triadic
#B04BB0 #B0B04B #4BB0B0
tetradic
#B04BB0 #B07E4B #4BB04B #4B7EB0
square
#B04BB0 #B07E4B #4BB04B #4B7EB0
split-complementary
#B04BB0 #7EB04B #4BB07E
monochromatic
#5A265A #853985 #B04BB0 #C474C4 #D69FD6

Accessibility & contrast

On white

4.69
#B04BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B04BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BB0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BB0#FFFFFF#000000##FFFFFF
##B04BB01.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#6278AD
Tritanopia (blue-blind)
#B55776
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04bb0;
/* rgb */ color: rgb(176, 75, 176);
/* oklch */ color: oklch(58.1% 0.180 327.6);
Tailwind
colors: {
  custom: {
    50: '#ca83c8',
    500: '#b04bb0',
    950: '#000000',
  },
}
SCSS
$custom: #b04bb0;
$custom-light: #ca83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bb0",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58123,
    "c": 0.17993,
    "h": 327.6
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#B04BB0
secondary
#94C394
accent
#D05858
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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