#B04FB2#B04FB2

#B04FB2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.176 H 326.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B04FB2
RGBrgb(176, 79, 178)
HSLhsl(299, 39%, 50%)
HSVhsv(299, 56%, 70%)
CMYKcmyk(1.1%, 55.6%, 0%, 30.2%)
CIE-LABlab(49.54, 53.07, -34.95)
CIE-LCHlch(49.54, 63.55, 326.63°)
OKLaboklab(58.73% 0.1469 -0.0963)
OKLCHoklch(58.73% 0.176 326.7)
XYZxyz(28.7358, 18.0381, 44.0790)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FB2 #51B24F
analogous
#7E4FB2 #B04FB2 #B24F82
triadic
#B04FB2 #B2B04F #4FB2B0
tetradic
#B04FB2 #B27E4F #51B24F #4F82B2
square
#B04FB2 #B27E4F #51B24F #4F82B2
split-complementary
#B04FB2 #82B24F #4FB27E
monochromatic
#5D295E #873C88 #B04FB2 #C37AC5 #D6A4D7

Accessibility & contrast

On white

4.56
#B04FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B04FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FB2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FB2#FFFFFF#000000##000000
##B04FB21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#B55B79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04fb2;
/* rgb */ color: rgb(176, 79, 178);
/* oklch */ color: oklch(58.7% 0.176 326.7);
Tailwind
colors: {
  custom: {
    50: '#ca85c9',
    500: '#b04fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b04fb2;
$custom-light: #ca85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fb2",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 298.788,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.17563,
    "h": 326.7
  },
  "luminance": 0.18036
}

Semantic roles & 50–950 ramp

primary
#B04FB2
secondary
#99C498
accent
#CF595B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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