#B047BA#B047BA

#B047BA is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.195 H 324.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B047BA
RGBrgb(176, 71, 186)
HSLhsl(295, 45%, 50%)
HSVhsv(295, 62%, 73%)
CMYKcmyk(5.4%, 61.8%, 0%, 27.1%)
CIE-LABlab(48.62, 58.17, -41.08)
CIE-LCHlch(48.62, 71.21, 324.77°)
OKLaboklab(58.18% 0.1577 -0.114)
OKLCHoklch(58.18% 0.195 324.1)
XYZxyz(29.0199, 17.2834, 48.2523)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B047BA #51BA47
analogous
#7747BA #B047BA #BA478A
triadic
#B047BA #BAB047 #47BAB0
tetradic
#B047BA #BA7747 #51BA47 #478ABA
square
#B047BA #BA7747 #51BA47 #478ABA
split-complementary
#B047BA #8ABA47 #47BA77
monochromatic
#5D2562 #87358E #B047BA #C374CB #D6A0DB

Accessibility & contrast

On white

4.71
#B047BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B047BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B047BA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B047BA#FFFFFF#000000##FFFFFF
##B047BA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#B3587A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b047ba;
/* rgb */ color: rgb(176, 71, 186);
/* oklch */ color: oklch(58.2% 0.195 324.1);
Tailwind
colors: {
  custom: {
    50: '#cb81cf',
    500: '#b047ba',
    950: '#000000',
  },
}
SCSS
$custom: #b047ba;
$custom-light: #cb81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b047ba",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 294.783,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.19453,
    "h": 324.1
  },
  "luminance": 0.17282
}

Semantic roles & 50–950 ramp

primary
#B047BA
secondary
#99C895
accent
#D5535E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B047BA

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

Preview Lab → · Contrast checker → · Palette generator →

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