#B04FB7#B04FB7

#B04FB7 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.0% C 0.180 H 324.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B04FB7
RGBrgb(176, 79, 183)
HSLhsl(296, 42%, 51%)
HSVhsv(296, 57%, 72%)
CMYKcmyk(3.8%, 56.8%, 0%, 28.2%)
CIE-LABlab(49.79, 53.99, -37.48)
CIE-LCHlch(49.79, 65.72, 325.23°)
OKLaboklab(58.99% 0.1474 -0.1036)
OKLCHoklch(58.99% 0.18 324.9)
XYZxyz(29.2470, 18.2426, 46.7712)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FB7 #56B74F
analogous
#7C4FB7 #B04FB7 #B74F8A
triadic
#B04FB7 #B7B04F #4FB7B0
tetradic
#B04FB7 #B77C4F #56B74F #4F8AB7
square
#B04FB7 #B77C4F #56B74F #4F8AB7
split-complementary
#B04FB7 #8AB74F #4FB77C
monochromatic
#5F2963 #893A8F #B04FB7 #C37AC9 #D7A6DB

Accessibility & contrast

On white

4.52
#B04FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B04FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FB7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FB7#FFFFFF#000000##000000
##B04FB71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#406FBA
Deuteranopia (green-blind)
#617BB4
Tritanopia (blue-blind)
#B45D7C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04fb7;
/* rgb */ color: rgb(176, 79, 183);
/* oklch */ color: oklch(59.0% 0.180 324.9);
Tailwind
colors: {
  custom: {
    50: '#ca85cd',
    500: '#b04fb7',
    950: '#000000',
  },
}
SCSS
$custom: #b04fb7;
$custom-light: #ca85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fb7",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 295.962,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.18016,
    "h": 324.9
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#B04FB7
secondary
#9DC89A
accent
#D2565E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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