#B04EBD#B04EBD

#B04EBD is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.187 H 322.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B04EBD
RGBrgb(176, 78, 189)
HSLhsl(293, 46%, 52%)
HSVhsv(293, 59%, 74%)
CMYKcmyk(6.9%, 58.7%, 0%, 25.9%)
CIE-LABlab(49.92, 55.57, -40.75)
CIE-LCHlch(49.92, 68.91, 323.75°)
OKLaboklab(59.19% 0.1492 -0.1131)
OKLCHoklch(59.19% 0.187 322.8)
XYZxyz(29.8133, 18.3545, 50.1067)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EBD #5BBD4E
analogous
#794EBD #B04EBD #BD4E93
triadic
#B04EBD #BDB04E #4EBDB0
tetradic
#B04EBD #BD794E #5BBD4E #4E93BD
square
#B04EBD #BD794E #5BBD4E #4E93BD
split-complementary
#B04EBD #93BD4E #4EBD79
monochromatic
#622769 #8B3896 #B04EBD #C47BCE #D8A7DE

Accessibility & contrast

On white

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

On black

4.67
#B04EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EBD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EBD#FFFFFF#000000##000000
##B04EBD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b04ebd;
/* rgb */ color: rgb(176, 78, 189);
/* oklch */ color: oklch(59.2% 0.187 322.8);
Tailwind
colors: {
  custom: {
    50: '#ca85d1',
    500: '#b04ebd',
    950: '#000000',
  },
}
SCSS
$custom: #b04ebd;
$custom-light: #ca85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ebd",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 292.973,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59187,
    "c": 0.18717,
    "h": 322.8
  },
  "luminance": 0.18353
}

Semantic roles & 50–950 ramp

primary
#B04EBD
secondary
#A1CC9B
accent
#D55262
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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