#B047B4#B047B4

#B047B4 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.9% C 0.189 H 326.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B047B4
RGBrgb(176, 71, 180)
HSLhsl(298, 43%, 49%)
HSVhsv(298, 61%, 71%)
CMYKcmyk(2.2%, 60.6%, 0%, 29.4%)
CIE-LABlab(48.30, 57.09, -38.07)
CIE-LCHlch(48.30, 68.62, 326.30°)
OKLaboklab(57.86% 0.1573 -0.1052)
OKLCHoklch(57.86% 0.189 326.2)
XYZxyz(28.3954, 17.0336, 44.9633)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B047B4 #4BB447
analogous
#7A47B4 #B047B4 #B44782
triadic
#B047B4 #B4B047 #47B4B0
tetradic
#B047B4 #B47A47 #4BB447 #4782B4
square
#B047B4 #B47A47 #4BB447 #4782B4
split-complementary
#B047B4 #82B447 #47B47A
monochromatic
#5A245C #853688 #B047B4 #C471C7 #D69DD8

Accessibility & contrast

On white

4.77
#B047B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B047B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B047B4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B047B4#FFFFFF#000000##FFFFFF
##B047B41.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#5D77B1
Tritanopia (blue-blind)
#B45677
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b047b4;
/* rgb */ color: rgb(176, 71, 180);
/* oklch */ color: oklch(57.9% 0.189 326.2);
Tailwind
colors: {
  custom: {
    50: '#ca81cb',
    500: '#b047b4',
    950: '#000000',
  },
}
SCSS
$custom: #b047b4;
$custom-light: #ca81cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b047b4",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 297.798,
    "s": 43.426,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57856,
    "c": 0.18926,
    "h": 326.2
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#B047B4
secondary
#94C592
accent
#D35559
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B047B4

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

Preview Lab → · Contrast checker → · Palette generator →

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