#B04CA4#B04CA4

#B04CA4 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.168 H 332.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B04CA4
RGBrgb(176, 76, 164)
HSLhsl(307, 40%, 49%)
HSVhsv(307, 57%, 69%)
CMYKcmyk(0%, 56.8%, 6.8%, 31%)
CIE-LABlab(48.36, 52.03, -28.57)
CIE-LCHlch(48.36, 59.36, 331.23°)
OKLaboklab(57.65% 0.149 -0.078)
OKLCHoklch(57.65% 0.168 332.4)
XYZxyz(27.1897, 17.0812, 36.9797)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CA4 #4CB058
analogous
#8A4CB0 #B04CA4 #B04C72
triadic
#B04CA4 #A4B04C #4CA4B0
tetradic
#B04CA4 #B08A4C #4CB058 #4C72B0
square
#B04CA4 #B08A4C #4CB058 #4C72B0
split-complementary
#B04CA4 #72B04C #4CB08A
monochromatic
#5B2754 #853A7C #B04CA4 #C476BA #D6A0D0

Accessibility & contrast

On white

4.76
#B04CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B04CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CA4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CA4#FFFFFF#000000##FFFFFF
##B04CA41.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA7
Deuteranopia (green-blind)
#6878A1
Tritanopia (blue-blind)
#B75471
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04ca4;
/* rgb */ color: rgb(176, 76, 164);
/* oklch */ color: oklch(57.6% 0.168 332.4);
Tailwind
colors: {
  custom: {
    50: '#ca83bf',
    500: '#b04ca4',
    950: '#000000',
  },
}
SCSS
$custom: #b04ca4;
$custom-light: #ca83bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ca4",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 307.2,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.16815,
    "h": 332.4
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#B04CA4
secondary
#95C39A
accent
#D06758
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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