#B04EBC#B04EBC

#B04EBC is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.186 H 323.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B04EBC
RGBrgb(176, 78, 188)
HSLhsl(293, 45%, 52%)
HSVhsv(293, 59%, 74%)
CMYKcmyk(6.4%, 58.5%, 0%, 26.3%)
CIE-LABlab(49.87, 55.38, -40.25)
CIE-LCHlch(49.87, 68.47, 323.99°)
OKLaboklab(59.13% 0.1491 -0.1116)
OKLCHoklch(59.13% 0.186 323.2)
XYZxyz(29.7051, 18.3113, 49.5370)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EBC #5ABC4E
analogous
#794EBC #B04EBC #BC4E91
triadic
#B04EBC #BCB04E #4EBCB0
tetradic
#B04EBC #BC794E #5ABC4E #4E91BC
square
#B04EBC #BC794E #5ABC4E #4E91BC
split-complementary
#B04EBC #91BC4E #4EBC79
monochromatic
#612768 #8A3895 #B04EBC #C47ACD #D8A7DE

Accessibility & contrast

On white

4.50
#B04EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B04EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EBC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EBC#FFFFFF#000000##000000
##B04EBC1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#5D7BB9
Tritanopia (blue-blind)
#B35E7E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04ebc;
/* rgb */ color: rgb(176, 78, 188);
/* oklch */ color: oklch(59.1% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#ca85d0',
    500: '#b04ebc',
    950: '#000000',
  },
}
SCSS
$custom: #b04ebc;
$custom-light: #ca85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ebc",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 293.455,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.18625,
    "h": 323.2
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#B04EBC
secondary
#A0CB9B
accent
#D55361
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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