#B04CA0#B04CA0

#B04CA0 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.5% C 0.165 H 334.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B04CA0
RGBrgb(176, 76, 160)
HSLhsl(310, 40%, 49%)
HSVhsv(310, 57%, 69%)
CMYKcmyk(0%, 56.8%, 9.1%, 31%)
CIE-LABlab(48.18, 51.36, -26.48)
CIE-LCHlch(48.18, 57.78, 332.72°)
OKLaboklab(57.46% 0.1483 -0.072)
OKLCHoklch(57.46% 0.165 334.1)
XYZxyz(26.8342, 16.9390, 35.1071)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CA0 #4CB05C
analogous
#8E4CB0 #B04CA0 #B04C6E
triadic
#B04CA0 #A0B04C #4CA0B0
tetradic
#B04CA0 #B08E4C #4CB05C #4C6EB0
square
#B04CA0 #B08E4C #4CB05C #4C6EB0
split-complementary
#B04CA0 #6EB04C #4CB08E
monochromatic
#5B2752 #853A79 #B04CA0 #C476B7 #D6A0CD

Accessibility & contrast

On white

4.79
#B04CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B04CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CA0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CA0#FFFFFF#000000##FFFFFF
##B04CA01.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B69A3
Deuteranopia (green-blind)
#69789D
Tritanopia (blue-blind)
#B8526F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b04ca0;
/* rgb */ color: rgb(176, 76, 160);
/* oklch */ color: oklch(57.5% 0.165 334.1);
Tailwind
colors: {
  custom: {
    50: '#ca83bc',
    500: '#b04ca0',
    950: '#000000',
  },
}
SCSS
$custom: #b04ca0;
$custom-light: #ca83bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ca0",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 160
  },
  "hsl": {
    "h": 309.6,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.16488,
    "h": 334.1
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#B04CA0
secondary
#95C39C
accent
#D06B58
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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