#B147D6#B147D6

#B147D6 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.220 H 316.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B147D6
RGBrgb(177, 71, 214)
HSLhsl(284, 64%, 56%)
HSVhsv(284, 67%, 84%)
CMYKcmyk(17.3%, 66.8%, 0%, 16.1%)
CIE-LABlab(50.35, 63.74, -54.45)
CIE-LCHlch(50.35, 83.83, 319.49°)
OKLaboklab(59.98% 0.1587 -0.1529)
OKLCHoklch(59.98% 0.22 316.1)
XYZxyz(32.5204, 18.7099, 65.5036)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147D6 #6CD647
analogous
#6947D6 #B147D6 #D647B3
triadic
#B147D6 #D6B147 #47D6B1
tetradic
#B147D6 #D66947 #6CD647 #47B3D6
square
#B147D6 #D66947 #6CD647 #47B3D6
split-complementary
#B147D6 #B3D647 #47D669
monochromatic
#6A1E85 #9229B7 #B147D6 #C679E1 #DBABEC

Accessibility & contrast

On white

4.43
#B147D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B147D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147D6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147D6#FFFFFF#000000##000000
##B147D61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#477BD3
Tritanopia (blue-blind)
#AF6289
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b147d6;
/* rgb */ color: rgb(177, 71, 214);
/* oklch */ color: oklch(60.0% 0.220 316.1);
Tailwind
colors: {
  custom: {
    50: '#cc82e3',
    500: '#b147d6',
    950: '#000000',
  },
}
SCSS
$custom: #b147d6;
$custom-light: #cc82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b147d6",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 284.476,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.22042,
    "h": 316.1
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#B147D6
secondary
#AEDA9F
accent
#E7416C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B147D6

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

Preview Lab → · Contrast checker → · Palette generator →

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