#B04EC0#B04EC0

#B04EC0 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.4% C 0.190 H 321.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B04EC0
RGBrgb(176, 78, 192)
HSLhsl(292, 48%, 53%)
HSVhsv(292, 59%, 75%)
CMYKcmyk(8.3%, 59.4%, 0%, 24.7%)
CIE-LABlab(50.08, 56.14, -42.24)
CIE-LCHlch(50.08, 70.25, 323.04°)
OKLaboklab(59.35% 0.1493 -0.1174)
OKLCHoklch(59.35% 0.19 321.8)
XYZxyz(30.1423, 18.4861, 51.8394)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EC0 #5EC04E
analogous
#774EC0 #B04EC0 #C04E97
triadic
#B04EC0 #C0B04E #4EC0B0
tetradic
#B04EC0 #C0774E #5EC04E #4E97C0
square
#B04EC0 #C0774E #5EC04E #4E97C0
split-complementary
#B04EC0 #97C04E #4EC077
monochromatic
#63276D #8C379A #B04EC0 #C47BD0 #D8A8E0

Accessibility & contrast

On white

4.47
#B04EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B04EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EC0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EC0#FFFFFF#000000##000000
##B04EC01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3770C4
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#B25F80
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04ec0;
/* rgb */ color: rgb(176, 78, 192);
/* oklch */ color: oklch(59.4% 0.190 321.8);
Tailwind
colors: {
  custom: {
    50: '#ca85d3',
    500: '#b04ec0',
    950: '#000000',
  },
}
SCSS
$custom: #b04ec0;
$custom-light: #ca85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ec0",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 291.579,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.18996,
    "h": 321.8
  },
  "luminance": 0.18485
}

Semantic roles & 50–950 ramp

primary
#B04EC0
secondary
#A3CE9C
accent
#D75164
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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