#B04FC1#B04FC1

#B04FC1 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.189 H 321.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B04FC1
RGBrgb(176, 79, 193)
HSLhsl(291, 48%, 53%)
HSVhsv(291, 59%, 76%)
CMYKcmyk(8.8%, 59.1%, 0%, 24.3%)
CIE-LABlab(50.30, 55.87, -42.46)
CIE-LCHlch(50.30, 70.17, 322.76°)
OKLaboklab(59.53% 0.1481 -0.1181)
OKLCHoklch(59.53% 0.189 321.4)
XYZxyz(30.3250, 18.6738, 52.4488)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FC1 #60C14F
analogous
#774FC1 #B04FC1 #C14F99
triadic
#B04FC1 #C1B04F #4FC1B0
tetradic
#B04FC1 #C1774F #60C14F #4F99C1
square
#B04FC1 #C1774F #60C14F #4F99C1
split-complementary
#B04FC1 #99C14F #4FC177
monochromatic
#64276F #8D379C #B04FC1 #C47CD1 #D9AAE1

Accessibility & contrast

On white

4.44
#B04FC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B04FC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FC1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FC1#FFFFFF#000000##000000
##B04FC11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3871C5
Deuteranopia (green-blind)
#5B7BBE
Tritanopia (blue-blind)
#B26081
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04fc1;
/* rgb */ color: rgb(176, 79, 193);
/* oklch */ color: oklch(59.5% 0.189 321.4);
Tailwind
colors: {
  custom: {
    50: '#ca86d4',
    500: '#b04fc1',
    950: '#000000',
  },
}
SCSS
$custom: #b04fc1;
$custom-light: #ca86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fc1",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 193
  },
  "hsl": {
    "h": 291.053,
    "s": 47.899,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.18943,
    "h": 321.4
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#B04FC1
secondary
#A5CE9D
accent
#D75064
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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