#B04BBB#B04BBB

#B04BBB is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.190 H 323.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B04BBB
RGBrgb(176, 75, 187)
HSLhsl(294, 45%, 51%)
HSVhsv(294, 60%, 73%)
CMYKcmyk(5.9%, 59.9%, 0%, 26.7%)
CIE-LABlab(49.32, 56.57, -40.55)
CIE-LCHlch(49.32, 69.60, 324.37°)
OKLaboklab(58.71% 0.1528 -0.1125)
OKLCHoklch(58.71% 0.19 323.6)
XYZxyz(29.3894, 17.8517, 48.9018)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BBB #56BB4B
analogous
#784BBB #B04BBB #BB4B8E
triadic
#B04BBB #BBB04B #4BBBB0
tetradic
#B04BBB #BB784B #56BB4B #4B8EBB
square
#B04BBB #BB784B #56BB4B #4B8EBB
split-complementary
#B04BBB #8EBB4B #4BBB78
monochromatic
#5F2665 #893792 #B04BBB #C377CC #D7A4DD

Accessibility & contrast

On white

4.60
#B04BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B04BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04BBB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BBB#FFFFFF#000000##FFFFFF
##B04BBB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#5C79B8
Tritanopia (blue-blind)
#B35B7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04bbb;
/* rgb */ color: rgb(176, 75, 187);
/* oklch */ color: oklch(58.7% 0.190 323.6);
Tailwind
colors: {
  custom: {
    50: '#ca83d0',
    500: '#b04bbb',
    950: '#000000',
  },
}
SCSS
$custom: #b04bbb;
$custom-light: #ca83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bbb",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 294.107,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58711,
    "c": 0.18973,
    "h": 323.6
  },
  "luminance": 0.1785
}

Semantic roles & 50–950 ramp

primary
#B04BBB
secondary
#9DCA98
accent
#D55360
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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