#B147DB#B147DB

#B147DB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.225 H 314.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B147DB
RGBrgb(177, 71, 219)
HSLhsl(283, 67%, 57%)
HSVhsv(283, 68%, 86%)
CMYKcmyk(19.2%, 67.6%, 0%, 14.1%)
CIE-LABlab(50.65, 64.73, -56.80)
CIE-LCHlch(50.65, 86.12, 318.73°)
OKLaboklab(60.29% 0.1584 -0.1599)
OKLCHoklch(60.29% 0.225 314.7)
XYZxyz(33.1688, 18.9692, 68.9183)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147DB #71DB47
analogous
#6747DB #B147DB #DB47BB
triadic
#B147DB #DBB147 #47DBB1
tetradic
#B147DB #DB6747 #71DB47 #47BBDB
square
#B147DB #DB6747 #71DB47 #47BBDB
split-complementary
#B147DB #BBDB47 #47DB67
monochromatic
#6C1B8C #9425BF #B147DB #C77AE5 #DCADEF

Accessibility & contrast

On white

4.38
#B147DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B147DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147DB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147DB#FFFFFF#000000##000000
##B147DB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#427BD8
Tritanopia (blue-blind)
#AD648C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b147db;
/* rgb */ color: rgb(177, 71, 219);
/* oklch */ color: oklch(60.3% 0.225 314.7);
Tailwind
colors: {
  custom: {
    50: '#cc82e7',
    500: '#b147db',
    950: '#000000',
  },
}
SCSS
$custom: #b147db;
$custom-light: #cc82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b147db",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 282.973,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.22505,
    "h": 314.7
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#B147DB
secondary
#B2DDA1
accent
#EA3E6F
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B147DB

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

Preview Lab → · Contrast checker → · Palette generator →

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