#B147DF#B147DF

#B147DF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.5% C 0.229 H 313.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B147DF
RGBrgb(177, 71, 223)
HSLhsl(282, 70%, 58%)
HSVhsv(282, 68%, 87%)
CMYKcmyk(20.6%, 68.2%, 0%, 12.5%)
CIE-LABlab(50.90, 65.53, -58.68)
CIE-LCHlch(50.90, 87.96, 318.16°)
OKLaboklab(60.55% 0.1581 -0.1653)
OKLCHoklch(60.55% 0.229 313.7)
XYZxyz(33.7017, 19.1824, 71.7250)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147DF #75DF47
analogous
#6547DF #B147DF #DF47C1
triadic
#B147DF #DFB147 #47DFB1
tetradic
#B147DF #DF6547 #75DF47 #47C1DF
square
#B147DF #DF6547 #75DF47 #47C1DF
split-complementary
#B147DF #C1DF47 #47DF65
monochromatic
#6E1992 #9522C6 #B147DF #C77BE8 #DDAFF1

Accessibility & contrast

On white

4.34
#B147DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B147DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147DF#FFFFFF#000000##000000
##B147DF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#AD668E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b147df;
/* rgb */ color: rgb(177, 71, 223);
/* oklch */ color: oklch(60.5% 0.229 313.7);
Tailwind
colors: {
  custom: {
    50: '#cc82ea',
    500: '#b147df',
    950: '#000000',
  },
}
SCSS
$custom: #b147df;
$custom-light: #cc82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b147df",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 281.842,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60549,
    "c": 0.22877,
    "h": 313.7
  },
  "luminance": 0.19181
}

Semantic roles & 50–950 ramp

primary
#B147DF
secondary
#B5DFA2
accent
#ED3B71
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B147DF

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

Preview Lab → · Contrast checker → · Palette generator →

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