#B04BB2#B04BB2

#B04BB2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.182 H 326.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B04BB2
RGBrgb(176, 75, 178)
HSLhsl(299, 41%, 50%)
HSVhsv(299, 58%, 70%)
CMYKcmyk(1.1%, 57.9%, 0%, 30.2%)
CIE-LABlab(48.86, 54.93, -36.02)
CIE-LCHlch(48.86, 65.69, 326.74°)
OKLaboklab(58.23% 0.1521 -0.0994)
OKLCHoklch(58.23% 0.182 326.8)
XYZxyz(28.4560, 17.4783, 43.9857)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BB2 #4DB24B
analogous
#7D4BB2 #B04BB2 #B24B81
triadic
#B04BB2 #B2B04B #4BB2B0
tetradic
#B04BB2 #B27D4B #4DB24B #4B81B2
square
#B04BB2 #B27D4B #4DB24B #4B81B2
split-complementary
#B04BB2 #81B24B #4BB27D
monochromatic
#5B275C #853987 #B04BB2 #C375C5 #D6A0D7

Accessibility & contrast

On white

4.67
#B04BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B04BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BB2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BB2#FFFFFF#000000##FFFFFF
##B04BB21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#B55877
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04bb2;
/* rgb */ color: rgb(176, 75, 178);
/* oklch */ color: oklch(58.2% 0.182 326.8);
Tailwind
colors: {
  custom: {
    50: '#ca83c9',
    500: '#b04bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b04bb2;
$custom-light: #ca83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bb2",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 298.835,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.18168,
    "h": 326.8
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#B04BB2
secondary
#96C495
accent
#D1575A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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