#B04CA1#B04CA1

#B04CA1 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.5% C 0.166 H 333.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B04CA1
RGBrgb(176, 76, 161)
HSLhsl(309, 40%, 49%)
HSVhsv(309, 57%, 69%)
CMYKcmyk(0%, 56.8%, 8.5%, 31%)
CIE-LABlab(48.23, 51.52, -27.01)
CIE-LCHlch(48.23, 58.17, 332.34°)
OKLaboklab(57.51% 0.1485 -0.0735)
OKLCHoklch(57.51% 0.166 333.7)
XYZxyz(26.9220, 16.9741, 35.5697)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CA1 #4CB05B
analogous
#8D4CB0 #B04CA1 #B04C6F
triadic
#B04CA1 #A1B04C #4CA1B0
tetradic
#B04CA1 #B08D4C #4CB05B #4C6FB0
square
#B04CA1 #B08D4C #4CB05B #4C6FB0
split-complementary
#B04CA1 #6FB04C #4CB08D
monochromatic
#5B2753 #853A7A #B04CA1 #C476B8 #D6A0CE

Accessibility & contrast

On white

4.78
#B04CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B04CA1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CA1#FFFFFF#000000##FFFFFF
##B04CA11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A4
Deuteranopia (green-blind)
#69789E
Tritanopia (blue-blind)
#B7536F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b04ca1;
/* rgb */ color: rgb(176, 76, 161);
/* oklch */ color: oklch(57.5% 0.166 333.7);
Tailwind
colors: {
  custom: {
    50: '#ca83bd',
    500: '#b04ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b04ca1;
$custom-light: #ca83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ca1",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 309,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.16569,
    "h": 333.7
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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