#B04CA2#B04CA2

#B04CA2 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.167 H 333.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B04CA2
RGBrgb(176, 76, 162)
HSLhsl(308, 40%, 49%)
HSVhsv(308, 57%, 69%)
CMYKcmyk(0%, 56.8%, 8%, 31%)
CIE-LABlab(48.27, 51.69, -27.53)
CIE-LCHlch(48.27, 58.57, 331.96°)
OKLaboklab(57.55% 0.1487 -0.075)
OKLCHoklch(57.55% 0.167 333.2)
XYZxyz(27.0105, 17.0095, 36.0359)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CA2 #4CB05A
analogous
#8C4CB0 #B04CA2 #B04C70
triadic
#B04CA2 #A2B04C #4CA2B0
tetradic
#B04CA2 #B08C4C #4CB05A #4C70B0
square
#B04CA2 #B08C4C #4CB05A #4C70B0
split-complementary
#B04CA2 #70B04C #4CB08C
monochromatic
#5B2753 #853A7B #B04CA2 #C476B9 #D6A0CF

Accessibility & contrast

On white

4.77
#B04CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B04CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CA2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CA2#FFFFFF#000000##FFFFFF
##B04CA21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A5
Deuteranopia (green-blind)
#68789F
Tritanopia (blue-blind)
#B75370
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04ca2;
/* rgb */ color: rgb(176, 76, 162);
/* oklch */ color: oklch(57.6% 0.167 333.2);
Tailwind
colors: {
  custom: {
    50: '#ca83be',
    500: '#b04ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b04ca2;
$custom-light: #ca83be;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ca2",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 308.4,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.1665,
    "h": 333.2
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#B04CA2
secondary
#95C39B
accent
#D06958
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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