#B047AF#B047AF

#B047AF is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.185 H 328.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B047AF
RGBrgb(176, 71, 175)
HSLhsl(301, 43%, 48%)
HSVhsv(301, 60%, 69%)
CMYKcmyk(0%, 59.7%, 0.6%, 31%)
CIE-LABlab(48.05, 56.20, -35.54)
CIE-LCHlch(48.05, 66.49, 327.69°)
OKLaboklab(57.59% 0.1569 -0.0979)
OKLCHoklch(57.59% 0.185 328)
XYZxyz(27.8952, 16.8335, 42.3291)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B047AF #47B048
analogous
#7C47B0 #B047AF #B0477A
triadic
#B047AF #AFB047 #47AFB0
tetradic
#B047AF #B07C47 #47B048 #477AB0
square
#B047AF #B07C47 #47B048 #477AB0
split-complementary
#B047AF #7AB047 #47B07C
monochromatic
#592458 #843584 #B047AF #C56FC4 #D79BD6

Accessibility & contrast

On white

4.81
#B047AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B047AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B047AF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B047AF#FFFFFF#000000##FFFFFF
##B047AF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#B55474
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b047af;
/* rgb */ color: rgb(176, 71, 175);
/* oklch */ color: oklch(57.6% 0.185 328.0);
Tailwind
colors: {
  custom: {
    50: '#ca81c7',
    500: '#b047af',
    950: '#000000',
  },
}
SCSS
$custom: #b047af;
$custom-light: #ca81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b047af",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 300.571,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5759,
    "c": 0.18494,
    "h": 328
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#B047AF
secondary
#90C390
accent
#D25756
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B047AF

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

Preview Lab → · Contrast checker → · Palette generator →

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