#B140BD#B140BD

#B140BD is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.207 H 323.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B140BD
RGBrgb(177, 64, 189)
HSLhsl(294, 49%, 50%)
HSVhsv(294, 66%, 74%)
CMYKcmyk(6.3%, 66.1%, 0%, 25.9%)
CIE-LABlab(47.87, 61.90, -44.00)
CIE-LCHlch(47.87, 75.94, 324.59°)
OKLaboklab(57.73% 0.167 -0.1224)
OKLCHoklch(57.73% 0.207 323.8)
XYZxyz(29.1493, 16.6897, 49.8203)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140BD #4CBD40
analogous
#7340BD #B140BD #BD408B
triadic
#B140BD #BDB140 #40BDB1
tetradic
#B140BD #BD7340 #4CBD40 #408BBD
square
#B140BD #BD7340 #4CBD40 #408BBD
split-complementary
#B140BD #8BBD40 #40BD73
monochromatic
#5B2162 #86318F #B140BD #C46DCD #D79ADD

Accessibility & contrast

On white

4.84
#B140BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B140BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140BD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140BD#FFFFFF#000000##FFFFFF
##B140BD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#B45479
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b140bd;
/* rgb */ color: rgb(177, 64, 189);
/* oklch */ color: oklch(57.7% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#cc7dd1',
    500: '#b140bd',
    950: '#000000',
  },
}
SCSS
$custom: #b140bd;
$custom-light: #cc7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b140bd",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 294.24,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.20703,
    "h": 323.8
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#B140BD
secondary
#95C990
accent
#D94F5C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #B140BD

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

Preview Lab → · Contrast checker → · Palette generator →

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