#B04BC1#B04BC1

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

Color values

HEX#B04BC1
RGBrgb(176, 75, 193)
HSLhsl(291, 49%, 53%)
HSVhsv(291, 61%, 76%)
CMYKcmyk(8.8%, 61.1%, 0%, 24.3%)
CIE-LABlab(49.63, 57.70, -43.52)
CIE-LCHlch(49.63, 72.27, 322.97°)
OKLaboklab(59.05% 0.1531 -0.1211)
OKLCHoklch(59.05% 0.195 321.7)
XYZxyz(30.0452, 18.1140, 52.3555)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BC1 #5CC14B
analogous
#754BC1 #B04BC1 #C14B97
triadic
#B04BC1 #C1B04B #4BC1B0
tetradic
#B04BC1 #C1754B #5CC14B #4B97C1
square
#B04BC1 #C1754B #5CC14B #4B97C1
split-complementary
#B04BC1 #97C14B #4BC175
monochromatic
#62256C #8B359A #B04BC1 #C479D1 #D8A6E0

Accessibility & contrast

On white

4.54
#B04BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04BC1#FFFFFF#000000##000000
##B04BC11.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#B25D7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04bc1;
/* rgb */ color: rgb(176, 75, 193);
/* oklch */ color: oklch(59.0% 0.195 321.7);
Tailwind
colors: {
  custom: {
    50: '#cb83d4',
    500: '#b04bc1',
    950: '#000000',
  },
}
SCSS
$custom: #b04bc1;
$custom-light: #cb83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bc1",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 291.356,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.19521,
    "h": 321.7
  },
  "luminance": 0.18113
}

Semantic roles & 50–950 ramp

primary
#B04BC1
secondary
#A2CE9A
accent
#D84F63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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