#B147D9#B147D9

#B147D9 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.223 H 315.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B147D9
RGBrgb(177, 71, 217)
HSLhsl(284, 66%, 56%)
HSVhsv(284, 67%, 85%)
CMYKcmyk(18.4%, 67.3%, 0%, 14.9%)
CIE-LABlab(50.53, 64.33, -55.86)
CIE-LCHlch(50.53, 85.20, 319.03°)
OKLaboklab(60.16% 0.1585 -0.1571)
OKLCHoklch(60.16% 0.223 315.3)
XYZxyz(32.9071, 18.8645, 67.5400)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147D9 #6FD947
analogous
#6847D9 #B147D9 #D947B8
triadic
#B147D9 #D9B147 #47D9B1
tetradic
#B147D9 #D96847 #6FD947 #47B8D9
square
#B147D9 #D96847 #6FD947 #47B8D9
split-complementary
#B147D9 #B8D947 #47D968
monochromatic
#6B1C89 #9327BC #B147D9 #C77AE3 #DCACEE

Accessibility & contrast

On white

4.40
#B147D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B147D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147D9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147D9#FFFFFF#000000##000000
##B147D91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#447BD6
Tritanopia (blue-blind)
#AE648B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b147d9;
/* rgb */ color: rgb(177, 71, 217);
/* oklch */ color: oklch(60.2% 0.223 315.3);
Tailwind
colors: {
  custom: {
    50: '#cc82e5',
    500: '#b147d9',
    950: '#000000',
  },
}
SCSS
$custom: #b147d9;
$custom-light: #cc82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b147d9",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 283.562,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60164,
    "c": 0.2232,
    "h": 315.3
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#B147D9
secondary
#B0DCA0
accent
#E93F6E
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B147D9

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

Preview Lab → · Contrast checker → · Palette generator →

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