#B04EB7#B04EB7

#B04EB7 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.182 H 324.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B04EB7
RGBrgb(176, 78, 183)
HSLhsl(296, 42%, 51%)
HSVhsv(296, 57%, 72%)
CMYKcmyk(3.8%, 57.4%, 0%, 28.2%)
CIE-LABlab(49.62, 54.45, -37.75)
CIE-LCHlch(49.62, 66.26, 325.27°)
OKLaboklab(58.86% 0.1487 -0.1044)
OKLCHoklch(58.86% 0.182 324.9)
XYZxyz(29.1754, 18.0994, 46.7473)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EB7 #55B74E
analogous
#7B4EB7 #B04EB7 #B74E89
triadic
#B04EB7 #B7B04E #4EB7B0
tetradic
#B04EB7 #B77B4E #55B74E #4E89B7
square
#B04EB7 #B77B4E #55B74E #4E89B7
split-complementary
#B04EB7 #89B74E #4EB77B
monochromatic
#5F2863 #883A8E #B04EB7 #C37AC9 #D7A5DA

Accessibility & contrast

On white

4.55
#B04EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B04EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EB7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EB7#FFFFFF#000000##000000
##B04EB71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#607AB4
Tritanopia (blue-blind)
#B45C7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04eb7;
/* rgb */ color: rgb(176, 78, 183);
/* oklch */ color: oklch(58.9% 0.182 324.9);
Tailwind
colors: {
  custom: {
    50: '#ca85cd',
    500: '#b04eb7',
    950: '#000000',
  },
}
SCSS
$custom: #b04eb7;
$custom-light: #ca85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04eb7",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 296,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58864,
    "c": 0.18167,
    "h": 324.9
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#B04EB7
secondary
#9CC899
accent
#D2565E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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