#B047A2#B047A2

#B047A2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.9% C 0.174 H 333.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B047A2
RGBrgb(176, 71, 162)
HSLhsl(308, 43%, 48%)
HSVhsv(308, 60%, 69%)
CMYKcmyk(0%, 59.7%, 8%, 31%)
CIE-LABlab(47.43, 53.99, -28.84)
CIE-LCHlch(47.43, 61.21, 331.88°)
OKLaboklab(56.93% 0.1553 -0.0787)
OKLCHoklch(56.93% 0.174 333.1)
XYZxyz(26.6794, 16.3472, 35.9255)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B047A2 #47B055
analogous
#8947B0 #B047A2 #B0476D
triadic
#B047A2 #A2B047 #47A2B0
tetradic
#B047A2 #B08947 #47B055 #476DB0
square
#B047A2 #B08947 #47B055 #476DB0
split-complementary
#B047A2 #6DB047 #47B089
monochromatic
#592452 #84357A #B047A2 #C56FBA #D79BCF

Accessibility & contrast

On white

4.92
#B047A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B047A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B047A2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B047A2#FFFFFF#000000##FFFFFF
##B047A21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#65769F
Tritanopia (blue-blind)
#B74F6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b047a2;
/* rgb */ color: rgb(176, 71, 162);
/* oklch */ color: oklch(56.9% 0.174 333.1);
Tailwind
colors: {
  custom: {
    50: '#ca80be',
    500: '#b047a2',
    950: '#000000',
  },
}
SCSS
$custom: #b047a2;
$custom-light: #ca80be;
$custom-dark: #000000;
JSON
{
  "hex": "#b047a2",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 308,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.17413,
    "h": 333.1
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#B047A2
secondary
#90C397
accent
#D26656
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B047A2

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

Preview Lab → · Contrast checker → · Palette generator →

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