#B147DC#B147DC

#B147DC is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.226 H 314.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B147DC
RGBrgb(177, 71, 220)
HSLhsl(283, 68%, 57%)
HSVhsv(283, 68%, 86%)
CMYKcmyk(19.5%, 67.7%, 0%, 13.7%)
CIE-LABlab(50.71, 64.93, -57.27)
CIE-LCHlch(50.71, 86.58, 318.59°)
OKLaboklab(60.36% 0.1583 -0.1612)
OKLCHoklch(60.36% 0.226 314.5)
XYZxyz(33.3008, 19.0220, 69.6137)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147DC #72DC47
analogous
#6747DC #B147DC #DC47BC
triadic
#B147DC #DCB147 #47DCB1
tetradic
#B147DC #DC6747 #72DC47 #47BCDC
square
#B147DC #DC6747 #72DC47 #47BCDC
split-complementary
#B147DC #BCDC47 #47DC67
monochromatic
#6D1B8E #9425C1 #B147DC #C77AE6 #DDAEF0

Accessibility & contrast

On white

4.37
#B147DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B147DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147DC#FFFFFF#000000##000000
##B147DC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#417BD9
Tritanopia (blue-blind)
#AD658C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b147dc;
/* rgb */ color: rgb(177, 71, 220);
/* oklch */ color: oklch(60.4% 0.226 314.5);
Tailwind
colors: {
  custom: {
    50: '#cc82e8',
    500: '#b147dc',
    950: '#000000',
  },
}
SCSS
$custom: #b147dc;
$custom-light: #cc82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b147dc",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 282.685,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.22599,
    "h": 314.5
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#B147DC
secondary
#B3DEA1
accent
#EB3D6F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B147DC

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

Preview Lab → · Contrast checker → · Palette generator →

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