#B04BB3#B04BB3

#B04BB3 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.183 H 326.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B04BB3
RGBrgb(176, 75, 179)
HSLhsl(298, 41%, 50%)
HSVhsv(298, 58%, 70%)
CMYKcmyk(1.7%, 58.1%, 0%, 29.8%)
CIE-LABlab(48.91, 55.11, -36.53)
CIE-LCHlch(48.91, 66.12, 326.46°)
OKLaboklab(58.28% 0.1522 -0.1008)
OKLCHoklch(58.28% 0.183 326.5)
XYZxyz(28.5567, 17.5186, 44.5164)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BB3 #4EB34B
analogous
#7C4BB3 #B04BB3 #B34B82
triadic
#B04BB3 #B3B04B #4BB3B0
tetradic
#B04BB3 #B37C4B #4EB34B #4B82B3
square
#B04BB3 #B37C4B #4EB34B #4B82B3
split-complementary
#B04BB3 #82B34B #4BB37C
monochromatic
#5B275D #863988 #B04BB3 #C376C5 #D6A1D8

Accessibility & contrast

On white

4.66
#B04BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B04BB3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BB3#FFFFFF#000000##FFFFFF
##B04BB31.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB6
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#B45878
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04bb3;
/* rgb */ color: rgb(176, 75, 179);
/* oklch */ color: oklch(58.3% 0.183 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca83ca',
    500: '#b04bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b04bb3;
$custom-light: #ca83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bb3",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 298.269,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.18256,
    "h": 326.5
  },
  "luminance": 0.17517
}

Semantic roles & 50–950 ramp

primary
#B04BB3
secondary
#97C495
accent
#D1575B
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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