#B04ED1#B04ED1

#B04ED1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.3% C 0.206 H 316.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B04ED1
RGBrgb(176, 78, 209)
HSLhsl(285, 59%, 56%)
HSVhsv(285, 63%, 82%)
CMYKcmyk(15.8%, 62.7%, 0%, 18%)
CIE-LABlab(51.02, 59.46, -50.52)
CIE-LCHlch(51.02, 78.03, 319.64°)
OKLaboklab(60.34% 0.1498 -0.1415)
OKLCHoklch(60.34% 0.206 316.6)
XYZxyz(32.1358, 19.2835, 62.3385)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04ED1 #6FD14E
analogous
#6F4ED1 #B04ED1 #D14EB1
triadic
#B04ED1 #D1B04E #4ED1B0
tetradic
#B04ED1 #D16F4E #6FD14E #4EB1D1
square
#B04ED1 #D16F4E #6FD14E #4EB1D1
split-complementary
#B04ED1 #B1D14E #4ED16F
monochromatic
#6A2283 #922FB3 #B04ED1 #C67FDE #DBAFEA

Accessibility & contrast

On white

4.32
#B04ED1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B04ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04ED1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04ED1#FFFFFF#000000##000000
##B04ED11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2273D5
Deuteranopia (green-blind)
#507CCE
Tritanopia (blue-blind)
#AE6589
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04ed1;
/* rgb */ color: rgb(176, 78, 209);
/* oklch */ color: oklch(60.3% 0.206 316.6);
Tailwind
colors: {
  custom: {
    50: '#cb86e0',
    500: '#b04ed1',
    950: '#000000',
  },
}
SCSS
$custom: #b04ed1;
$custom-light: #cb86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ed1",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 284.885,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.20606,
    "h": 316.6
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#B04ED1
secondary
#B0D8A2
accent
#E2466D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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