#B147D8#B147D8

#B147D8 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.222 H 315.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B147D8
RGBrgb(177, 71, 216)
HSLhsl(284, 65%, 56%)
HSVhsv(284, 67%, 85%)
CMYKcmyk(18.1%, 67.1%, 0%, 15.3%)
CIE-LABlab(50.47, 64.13, -55.39)
CIE-LCHlch(50.47, 84.74, 319.18°)
OKLaboklab(60.1% 0.1586 -0.1557)
OKLCHoklch(60.1% 0.222 315.5)
XYZxyz(32.7774, 18.8126, 66.8570)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147D8 #6ED847
analogous
#6947D8 #B147D8 #D847B7
triadic
#B147D8 #D8B147 #47D8B1
tetradic
#B147D8 #D86947 #6ED847 #47B7D8
square
#B147D8 #D86947 #6ED847 #47B7D8
split-complementary
#B147D8 #B7D847 #47D869
monochromatic
#6B1D88 #9327BA #B147D8 #C679E3 #DCACED

Accessibility & contrast

On white

4.41
#B147D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B147D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147D8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147D8#FFFFFF#000000##000000
##B147D81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#457BD5
Tritanopia (blue-blind)
#AE638A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b147d8;
/* rgb */ color: rgb(177, 71, 216);
/* oklch */ color: oklch(60.1% 0.222 315.5);
Tailwind
colors: {
  custom: {
    50: '#cc82e5',
    500: '#b147d8',
    950: '#000000',
  },
}
SCSS
$custom: #b147d8;
$custom-light: #cc82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b147d8",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 283.862,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60101,
    "c": 0.22227,
    "h": 315.5
  },
  "luminance": 0.18811
}

Semantic roles & 50–950 ramp

primary
#B147D8
secondary
#B0DBA0
accent
#E8406D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B147D8

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

Preview Lab → · Contrast checker → · Palette generator →

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