#B04CB3#B04CB3

#B04CB3 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.4% C 0.181 H 326.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B04CB3
RGBrgb(176, 76, 179)
HSLhsl(298, 40%, 50%)
HSVhsv(298, 58%, 70%)
CMYKcmyk(1.7%, 57.5%, 0%, 29.8%)
CIE-LABlab(49.08, 54.65, -36.27)
CIE-LCHlch(49.08, 65.59, 326.43°)
OKLaboklab(58.4% 0.1509 -0.1001)
OKLCHoklch(58.4% 0.181 326.4)
XYZxyz(28.6251, 17.6554, 44.5392)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CB3 #4FB34C
analogous
#7C4CB3 #B04CB3 #B34C83
triadic
#B04CB3 #B3B04C #4CB3B0
tetradic
#B04CB3 #B37C4C #4FB34C #4C83B3
square
#B04CB3 #B37C4C #4FB34C #4C83B3
split-complementary
#B04CB3 #83B34C #4CB37C
monochromatic
#5C285D #863A88 #B04CB3 #C377C5 #D6A2D7

Accessibility & contrast

On white

4.63
#B04CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B04CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CB3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CB3#FFFFFF#000000##FFFFFF
##B04CB31.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#B45978
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04cb3;
/* rgb */ color: rgb(176, 76, 179);
/* oklch */ color: oklch(58.4% 0.181 326.4);
Tailwind
colors: {
  custom: {
    50: '#ca84ca',
    500: '#b04cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b04cb3;
$custom-light: #ca84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cb3",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 298.252,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.18107,
    "h": 326.4
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#B04CB3
secondary
#98C496
accent
#D0585B
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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