#B04BC4#B04BC4

#B04BC4 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.2% C 0.198 H 320.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B04BC4
RGBrgb(176, 75, 196)
HSLhsl(290, 51%, 53%)
HSVhsv(290, 62%, 77%)
CMYKcmyk(10.2%, 61.7%, 0%, 23.1%)
CIE-LABlab(49.80, 58.27, -45.00)
CIE-LCHlch(49.80, 73.62, 322.32°)
OKLaboklab(59.22% 0.1532 -0.1254)
OKLCHoklch(59.22% 0.198 320.7)
XYZxyz(30.3832, 18.2492, 54.1359)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BC4 #5FC44B
analogous
#734BC4 #B04BC4 #C44B9B
triadic
#B04BC4 #C4B04B #4BC4B0
tetradic
#B04BC4 #C4734B #5FC44B #4B9BC4
square
#B04BC4 #C4734B #5FC44B #4B9BC4
split-complementary
#B04BC4 #9BC44B #4BC473
monochromatic
#632570 #8C349E #B04BC4 #C479D3 #D8A7E2

Accessibility & contrast

On white

4.52
#B04BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B04BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BC4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BC4#FFFFFF#000000##000000
##B04BC41.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6FC8
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#B15E81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04bc4;
/* rgb */ color: rgb(176, 75, 196);
/* oklch */ color: oklch(59.2% 0.198 320.7);
Tailwind
colors: {
  custom: {
    50: '#cb83d6',
    500: '#b04bc4',
    950: '#000000',
  },
}
SCSS
$custom: #b04bc4;
$custom-light: #cb83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bc4",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 290.083,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.19798,
    "h": 320.7
  },
  "luminance": 0.18248
}

Semantic roles & 50–950 ramp

primary
#B04BC4
secondary
#A4CF9B
accent
#DA4E65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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