#B04EB3#B04EB3

#B04EB3 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.178 H 326.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B04EB3
RGBrgb(176, 78, 179)
HSLhsl(298, 40%, 50%)
HSVhsv(298, 56%, 70%)
CMYKcmyk(1.7%, 56.4%, 0%, 29.8%)
CIE-LABlab(49.42, 53.72, -35.73)
CIE-LCHlch(49.42, 64.52, 326.37°)
OKLaboklab(58.65% 0.1483 -0.0985)
OKLCHoklch(58.65% 0.178 326.4)
XYZxyz(28.7650, 17.9352, 44.5858)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EB3 #51B34E
analogous
#7D4EB3 #B04EB3 #B34E83
triadic
#B04EB3 #B3B04E #4EB3B0
tetradic
#B04EB3 #B37D4E #51B34E #4E83B3
square
#B04EB3 #B37D4E #51B34E #4E83B3
split-complementary
#B04EB3 #83B34E #4EB37D
monochromatic
#5D285E #873B89 #B04EB3 #C379C5 #D6A4D8

Accessibility & contrast

On white

4.58
#B04EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B04EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EB3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EB3#FFFFFF#000000##000000
##B04EB31.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#426DB6
Deuteranopia (green-blind)
#627AB0
Tritanopia (blue-blind)
#B45A79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04eb3;
/* rgb */ color: rgb(176, 78, 179);
/* oklch */ color: oklch(58.7% 0.178 326.4);
Tailwind
colors: {
  custom: {
    50: '#ca85ca',
    500: '#b04eb3',
    950: '#000000',
  },
}
SCSS
$custom: #b04eb3;
$custom-light: #ca85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b04eb3",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 298.218,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.17806,
    "h": 326.4
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#B04EB3
secondary
#99C598
accent
#D0585C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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