#B04CA5#B04CA5

#B04CA5 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.169 H 331.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B04CA5
RGBrgb(176, 76, 165)
HSLhsl(307, 40%, 49%)
HSVhsv(307, 57%, 69%)
CMYKcmyk(0%, 56.8%, 6.2%, 31%)
CIE-LABlab(48.41, 52.20, -29.09)
CIE-LCHlch(48.41, 59.76, 330.87°)
OKLaboklab(57.7% 0.1491 -0.0795)
OKLCHoklch(57.7% 0.169 331.9)
XYZxyz(27.2804, 17.1175, 37.4572)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CA5 #4CB057
analogous
#894CB0 #B04CA5 #B04C73
triadic
#B04CA5 #A5B04C #4CA5B0
tetradic
#B04CA5 #B0894C #4CB057 #4C73B0
square
#B04CA5 #B0894C #4CB057 #4C73B0
split-complementary
#B04CA5 #73B04C #4CB089
monochromatic
#5B2755 #853A7D #B04CA5 #C476BB #D6A0D0

Accessibility & contrast

On white

4.75
#B04CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B04CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CA5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CA5#FFFFFF#000000##FFFFFF
##B04CA51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA8
Deuteranopia (green-blind)
#6778A2
Tritanopia (blue-blind)
#B75471
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04ca5;
/* rgb */ color: rgb(176, 76, 165);
/* oklch */ color: oklch(57.7% 0.169 331.9);
Tailwind
colors: {
  custom: {
    50: '#ca83c0',
    500: '#b04ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b04ca5;
$custom-light: #ca83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ca5",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 306.6,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.16899,
    "h": 331.9
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#B04CA5
secondary
#95C39A
accent
#D06558
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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