#B04CB7#B04CB7

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

Color values

HEX#B04CB7
RGBrgb(176, 76, 183)
HSLhsl(296, 43%, 51%)
HSVhsv(296, 58%, 72%)
CMYKcmyk(3.8%, 58.5%, 0%, 28.2%)
CIE-LABlab(49.28, 55.38, -38.28)
CIE-LCHlch(49.28, 67.32, 325.34°)
OKLaboklab(58.61% 0.1513 -0.1059)
OKLCHoklch(58.61% 0.185 325)
XYZxyz(29.0355, 17.8195, 46.7007)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CB7 #53B74C
analogous
#7A4CB7 #B04CB7 #B74C88
triadic
#B04CB7 #B7B04C #4CB7B0
tetradic
#B04CB7 #B77A4C #53B74C #4C88B7
square
#B04CB7 #B77A4C #53B74C #4C88B7
split-complementary
#B04CB7 #88B74C #4CB77A
monochromatic
#5E2761 #88398D #B04CB7 #C378C9 #D7A3DA

Accessibility & contrast

On white

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

On black

4.56
#B04CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B04CB7#FFFFFF#000000##FFFFFF
##B04CB71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DBA
Deuteranopia (green-blind)
#5F79B4
Tritanopia (blue-blind)
#B45A7A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04cb7;
/* rgb */ color: rgb(176, 76, 183);
/* oklch */ color: oklch(58.6% 0.185 325.0);
Tailwind
colors: {
  custom: {
    50: '#ca84cd',
    500: '#b04cb7',
    950: '#000000',
  },
}
SCSS
$custom: #b04cb7;
$custom-light: #ca84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cb7",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 296.075,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.18465,
    "h": 325
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#B04CB7
secondary
#9BC798
accent
#D2555E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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