#B04FAC#B04FAC

#B04FAC is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.4% C 0.170 H 329.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B04FAC
RGBrgb(176, 79, 172)
HSLhsl(302, 38%, 50%)
HSVhsv(302, 55%, 69%)
CMYKcmyk(0%, 55.1%, 2.3%, 31%)
CIE-LABlab(49.26, 52.00, -31.89)
CIE-LCHlch(49.26, 61.00, 328.48°)
OKLaboklab(58.43% 0.1461 -0.0875)
OKLCHoklch(58.43% 0.17 329.1)
XYZxyz(28.1466, 17.8024, 40.9754)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FAC #4FB053
analogous
#834FB0 #B04FAC #B04F7C
triadic
#B04FAC #ACB04F #4FACB0
tetradic
#B04FAC #B0834F #4FB053 #4F7CB0
square
#B04FAC #B0834F #4FB053 #4F7CB0
split-complementary
#B04FAC #7CB04F #4FB083
monochromatic
#5C2959 #863C83 #B04FAC #C379C0 #D6A3D4

Accessibility & contrast

On white

4.61
#B04FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B04FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04FAC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FAC#FFFFFF#000000##FFFFFF
##B04FAC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476DAF
Deuteranopia (green-blind)
#667AA9
Tritanopia (blue-blind)
#B65976
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04fac;
/* rgb */ color: rgb(176, 79, 172);
/* oklch */ color: oklch(58.4% 0.170 329.1);
Tailwind
colors: {
  custom: {
    50: '#ca85c5',
    500: '#b04fac',
    950: '#000000',
  },
}
SCSS
$custom: #b04fac;
$custom-light: #ca85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fac",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 302.474,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.58425,
    "c": 0.17031,
    "h": 329.1
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#B04FAC
secondary
#98C399
accent
#CE5F5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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