#B04CC4#B04CC4

#B04CC4 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.197 H 320.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B04CC4
RGBrgb(176, 76, 196)
HSLhsl(290, 50%, 53%)
HSVhsv(290, 61%, 77%)
CMYKcmyk(10.2%, 61.2%, 0%, 23.1%)
CIE-LABlab(49.96, 57.82, -44.74)
CIE-LCHlch(49.96, 73.11, 322.27°)
OKLaboklab(59.34% 0.152 -0.1247)
OKLCHoklch(59.34% 0.197 320.6)
XYZxyz(30.4516, 18.3860, 54.1587)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CC4 #60C44C
analogous
#744CC4 #B04CC4 #C44C9C
triadic
#B04CC4 #C4B04C #4CC4B0
tetradic
#B04CC4 #C4744C #60C44C #4C9CC4
square
#B04CC4 #C4744C #60C44C #4C9CC4
split-complementary
#B04CC4 #9CC44C #4CC474
monochromatic
#642571 #8D349F #B04CC4 #C47AD3 #D9A8E2

Accessibility & contrast

On white

4.49
#B04CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B04CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CC4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CC4#FFFFFF#000000##000000
##B04CC41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3070C8
Deuteranopia (green-blind)
#577BC1
Tritanopia (blue-blind)
#B15F81
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04cc4;
/* rgb */ color: rgb(176, 76, 196);
/* oklch */ color: oklch(59.3% 0.197 320.6);
Tailwind
colors: {
  custom: {
    50: '#cb84d6',
    500: '#b04cc4',
    950: '#000000',
  },
}
SCSS
$custom: #b04cc4;
$custom-light: #cb84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cc4",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 290,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.19657,
    "h": 320.6
  },
  "luminance": 0.18385
}

Semantic roles & 50–950 ramp

primary
#B04CC4
secondary
#A5D09C
accent
#DA4E65
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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