#B04CA6#B04CA6

#B04CA6 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.170 H 331.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B04CA6
RGBrgb(176, 76, 166)
HSLhsl(306, 40%, 49%)
HSVhsv(306, 57%, 69%)
CMYKcmyk(0%, 56.8%, 5.7%, 31%)
CIE-LABlab(48.45, 52.37, -29.61)
CIE-LCHlch(48.45, 60.16, 330.52°)
OKLaboklab(57.75% 0.1493 -0.0809)
OKLCHoklch(57.75% 0.17 331.5)
XYZxyz(27.3718, 17.1540, 37.9384)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CA6 #4CB056
analogous
#884CB0 #B04CA6 #B04C74
triadic
#B04CA6 #A6B04C #4CA6B0
tetradic
#B04CA6 #B0884C #4CB056 #4C74B0
square
#B04CA6 #B0884C #4CB056 #4C74B0
split-complementary
#B04CA6 #74B04C #4CB088
monochromatic
#5B2755 #853A7E #B04CA6 #C476BC #D6A0D1

Accessibility & contrast

On white

4.74
#B04CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B04CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CA6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CA6#FFFFFF#000000##FFFFFF
##B04CA61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#6778A3
Tritanopia (blue-blind)
#B75472
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04ca6;
/* rgb */ color: rgb(176, 76, 166);
/* oklch */ color: oklch(57.7% 0.170 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca83c0',
    500: '#b04ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b04ca6;
$custom-light: #ca83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ca6",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 306,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57745,
    "c": 0.16982,
    "h": 331.5
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

primary
#B04CA6
secondary
#95C399
accent
#D06458
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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