#B147C7#B147C7

#B147C7 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.207 H 320.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B147C7
RGBrgb(177, 71, 199)
HSLhsl(290, 53%, 53%)
HSVhsv(290, 64%, 78%)
CMYKcmyk(11.1%, 64.3%, 0%, 22%)
CIE-LABlab(49.47, 60.83, -47.24)
CIE-LCHlch(49.47, 77.02, 322.17°)
OKLaboklab(59.06% 0.1591 -0.1319)
OKLCHoklch(59.06% 0.207 320.3)
XYZxyz(30.6923, 17.9786, 55.8753)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147C7 #5DC747
analogous
#7147C7 #B147C7 #C7479D
triadic
#B147C7 #C7B147 #47C7B1
tetradic
#B147C7 #C77147 #5DC747 #479DC7
square
#B147C7 #C77147 #5DC747 #479DC7
split-complementary
#B147C7 #9DC747 #47C771
monochromatic
#642271 #8D31A0 #B147C7 #C576D5 #D9A5E4

Accessibility & contrast

On white

4.57
#B147C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B147C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147C7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147C7#FFFFFF#000000##000000
##B147C71.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#226ECB
Deuteranopia (green-blind)
#5379C4
Tritanopia (blue-blind)
#B25D81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b147c7;
/* rgb */ color: rgb(177, 71, 199);
/* oklch */ color: oklch(59.1% 0.207 320.3);
Tailwind
colors: {
  custom: {
    50: '#cc81d8',
    500: '#b147c7',
    950: '#000000',
  },
}
SCSS
$custom: #b147c7;
$custom-light: #cc81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b147c7",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 289.688,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.20668,
    "h": 320.3
  },
  "luminance": 0.17977
}

Semantic roles & 50–950 ramp

primary
#B147C7
secondary
#A3D199
accent
#DD4B64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B147C7

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

Preview Lab → · Contrast checker → · Palette generator →

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