#B04BCE#B04BCE

#B04BCE is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.8% C 0.207 H 317.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B04BCE
RGBrgb(176, 75, 206)
HSLhsl(286, 57%, 55%)
HSVhsv(286, 64%, 81%)
CMYKcmyk(14.6%, 63.6%, 0%, 19.2%)
CIE-LABlab(50.36, 60.21, -49.86)
CIE-LCHlch(50.36, 78.17, 320.37°)
OKLaboklab(59.8% 0.1533 -0.1396)
OKLCHoklch(59.8% 0.207 317.7)
XYZxyz(31.5596, 18.7198, 60.3314)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BCE #69CE4B
analogous
#6F4BCE #B04BCE #CE4BAA
triadic
#B04BCE #CEB04B #4BCEB0
tetradic
#B04BCE #CE6F4B #69CE4B #4BAACE
square
#B04BCE #CE6F4B #69CE4B #4BAACE
split-complementary
#B04BCE #AACE4B #4BCE6F
monochromatic
#68227D #902FAD #B04BCE #C57BDB #DAABE8

Accessibility & contrast

On white

4.43
#B04BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B04BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BCE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BCE#FFFFFF#000000##000000
##B04BCE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D2
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#AF6286
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04bce;
/* rgb */ color: rgb(176, 75, 206);
/* oklch */ color: oklch(59.8% 0.207 317.7);
Tailwind
colors: {
  custom: {
    50: '#cb84dd',
    500: '#b04bce',
    950: '#000000',
  },
}
SCSS
$custom: #b04bce;
$custom-light: #cb84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bce",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 286.26,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.20732,
    "h": 317.7
  },
  "luminance": 0.18718
}

Semantic roles & 50–950 ramp

primary
#B04BCE
secondary
#ACD69F
accent
#E0476A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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