#B04CA9#B04CA9

#B04CA9 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.172 H 330.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B04CA9
RGBrgb(176, 76, 169)
HSLhsl(304, 40%, 49%)
HSVhsv(304, 57%, 69%)
CMYKcmyk(0%, 56.8%, 4%, 31%)
CIE-LABlab(48.59, 52.88, -31.16)
CIE-LCHlch(48.59, 61.38, 329.49°)
OKLaboklab(57.89% 0.1497 -0.0854)
OKLCHoklch(57.89% 0.172 330.3)
XYZxyz(27.6502, 17.2654, 39.4046)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CA9 #4CB053
analogous
#854CB0 #B04CA9 #B04C77
triadic
#B04CA9 #A9B04C #4CA9B0
tetradic
#B04CA9 #B0854C #4CB053 #4C77B0
square
#B04CA9 #B0854C #4CB053 #4C77B0
split-complementary
#B04CA9 #77B04C #4CB085
monochromatic
#5B2757 #853A80 #B04CA9 #C476BE #D6A0D2

Accessibility & contrast

On white

4.72
#B04CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B04CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CA9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CA9#FFFFFF#000000##FFFFFF
##B04CA91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466BAC
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#B65573
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04ca9;
/* rgb */ color: rgb(176, 76, 169);
/* oklch */ color: oklch(57.9% 0.172 330.3);
Tailwind
colors: {
  custom: {
    50: '#ca83c3',
    500: '#b04ca9',
    950: '#000000',
  },
}
SCSS
$custom: #b04ca9;
$custom-light: #ca83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ca9",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 304.2,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.17236,
    "h": 330.3
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#B04CA9
secondary
#95C398
accent
#D06158
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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