#B04FB3#B04FB3

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

Color values

HEX#B04FB3
RGBrgb(176, 79, 179)
HSLhsl(298, 40%, 51%)
HSVhsv(298, 56%, 70%)
CMYKcmyk(1.7%, 55.9%, 0%, 29.8%)
CIE-LABlab(49.59, 53.25, -35.46)
CIE-LCHlch(49.59, 63.98, 326.35°)
OKLaboklab(58.78% 0.147 -0.0978)
OKLCHoklch(58.78% 0.177 326.4)
XYZxyz(28.8366, 18.0784, 44.6097)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FB3 #52B34F
analogous
#7E4FB3 #B04FB3 #B34F84
triadic
#B04FB3 #B3B04F #4FB3B0
tetradic
#B04FB3 #B37E4F #52B34F #4F84B3
square
#B04FB3 #B37E4F #52B34F #4F84B3
split-complementary
#B04FB3 #84B34F #4FB37E
monochromatic
#5D295F #873B89 #B04FB3 #C37AC5 #D6A4D8

Accessibility & contrast

On white

4.55
#B04FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04FB3#FFFFFF#000000##000000
##B04FB31.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#637AB0
Tritanopia (blue-blind)
#B45B7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04fb3;
/* rgb */ color: rgb(176, 79, 179);
/* oklch */ color: oklch(58.8% 0.177 326.4);
Tailwind
colors: {
  custom: {
    50: '#ca85ca',
    500: '#b04fb3',
    950: '#000000',
  },
}
SCSS
$custom: #b04fb3;
$custom-light: #ca85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fb3",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 298.2,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5878,
    "c": 0.17653,
    "h": 326.4
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

primary
#B04FB3
secondary
#9AC599
accent
#D0585C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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