#B04FBC#B04FBC

#B04FBC is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.185 H 323.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B04FBC
RGBrgb(176, 79, 188)
HSLhsl(293, 45%, 52%)
HSVhsv(293, 58%, 74%)
CMYKcmyk(6.4%, 58%, 0%, 26.3%)
CIE-LABlab(50.04, 54.92, -39.98)
CIE-LCHlch(50.04, 67.93, 323.95°)
OKLaboklab(59.26% 0.1478 -0.1108)
OKLCHoklch(59.26% 0.185 323.1)
XYZxyz(29.7767, 18.4544, 49.5608)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FBC #5BBC4F
analogous
#794FBC #B04FBC #BC4F92
triadic
#B04FBC #BCB04F #4FBCB0
tetradic
#B04FBC #BC794F #5BBC4F #4F92BC
square
#B04FBC #BC794F #5BBC4F #4F92BC
split-complementary
#B04FBC #92BC4F #4FBC79
monochromatic
#622869 #8B3995 #B04FBC #C47BCD #D8A8DE

Accessibility & contrast

On white

4.48
#B04FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B04FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FBC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FBC#FFFFFF#000000##000000
##B04FBC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C70BF
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#B35E7E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04fbc;
/* rgb */ color: rgb(176, 79, 188);
/* oklch */ color: oklch(59.3% 0.185 323.1);
Tailwind
colors: {
  custom: {
    50: '#ca86d0',
    500: '#b04fbc',
    950: '#000000',
  },
}
SCSS
$custom: #b04fbc;
$custom-light: #ca86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fbc",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 293.394,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59258,
    "c": 0.18476,
    "h": 323.1
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#B04FBC
secondary
#A1CB9C
accent
#D55361
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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