#B04CAA#B04CAA

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

Color values

HEX#B04CAA
RGBrgb(176, 76, 170)
HSLhsl(304, 40%, 49%)
HSVhsv(304, 57%, 69%)
CMYKcmyk(0%, 56.8%, 3.4%, 31%)
CIE-LABlab(48.64, 53.06, -31.67)
CIE-LCHlch(48.64, 61.79, 329.16°)
OKLaboklab(57.94% 0.1499 -0.0869)
OKLCHoklch(57.94% 0.173 329.9)
XYZxyz(27.7444, 17.3031, 39.9009)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CAA #4CB052
analogous
#844CB0 #B04CAA #B04C78
triadic
#B04CAA #AAB04C #4CAAB0
tetradic
#B04CAA #B0844C #4CB052 #4C78B0
square
#B04CAA #B0844C #4CB052 #4C78B0
split-complementary
#B04CAA #78B04C #4CB084
monochromatic
#5B2757 #853A81 #B04CAA #C476BF #D6A0D3

Accessibility & contrast

On white

4.71
#B04CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B04CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CAA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CAA#FFFFFF#000000##FFFFFF
##B04CAA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#6578A7
Tritanopia (blue-blind)
#B65674
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04caa;
/* rgb */ color: rgb(176, 76, 170);
/* oklch */ color: oklch(57.9% 0.173 329.9);
Tailwind
colors: {
  custom: {
    50: '#ca83c3',
    500: '#b04caa',
    950: '#000000',
  },
}
SCSS
$custom: #b04caa;
$custom-light: #ca83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04caa",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 303.6,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.17321,
    "h": 329.9
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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