#B3479E#B3479E

#B3479E is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.2% C 0.173 H 335.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B3479E
RGBrgb(179, 71, 158)
HSLhsl(312, 43%, 49%)
HSVhsv(312, 60%, 70%)
CMYKcmyk(0%, 60.3%, 11.7%, 29.8%)
CIE-LABlab(47.70, 54.17, -26.01)
CIE-LCHlch(47.70, 60.09, 334.35°)
OKLaboklab(57.17% 0.158 -0.0706)
OKLCHoklch(57.17% 0.173 335.9)
XYZxyz(27.0155, 16.5609, 34.1148)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3479E #47B35C
analogous
#9247B3 #B3479E #B34768
triadic
#B3479E #9EB347 #479EB3
tetradic
#B3479E #B39247 #47B35C #4768B3
square
#B3479E #B39247 #47B35C #4768B3
split-complementary
#B3479E #68B347 #47B392
monochromatic
#5B2451 #873677 #B3479E #C771B6 #D89CCC

Accessibility & contrast

On white

4.87
#B3479E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B3479E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3479E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3479E#FFFFFF#000000##FFFFFF
##B3479E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4867A1
Deuteranopia (green-blind)
#69779B
Tritanopia (blue-blind)
#BC4D6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b3479e;
/* rgb */ color: rgb(179, 71, 158);
/* oklch */ color: oklch(57.2% 0.173 335.9);
Tailwind
colors: {
  custom: {
    50: '#cd81bb',
    500: '#b3479e',
    950: '#000000',
  },
}
SCSS
$custom: #b3479e;
$custom-light: #cd81bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3479e",
  "rgb": {
    "r": 179,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 311.667,
    "s": 43.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.17302,
    "h": 335.9
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#B3479E
secondary
#91C49B
accent
#D36D55
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B3479E

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

Preview Lab → · Contrast checker → · Palette generator →

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