#B140BB#B140BB

#B140BB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.6% C 0.205 H 324.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B140BB
RGBrgb(177, 64, 187)
HSLhsl(295, 49%, 49%)
HSVhsv(295, 66%, 73%)
CMYKcmyk(5.3%, 65.8%, 0%, 26.7%)
CIE-LABlab(47.76, 61.54, -43.01)
CIE-LCHlch(47.76, 75.08, 325.05°)
OKLaboklab(57.61% 0.1669 -0.1195)
OKLCHoklch(57.61% 0.205 324.4)
XYZxyz(28.9337, 16.6035, 48.6849)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140BB #4ABB40
analogous
#7440BB #B140BB #BB4088
triadic
#B140BB #BBB140 #40BBB1
tetradic
#B140BB #BB7440 #4ABB40 #4088BB
square
#B140BB #BB7440 #4ABB40 #4088BB
split-complementary
#B140BB #88BB40 #40BB74
monochromatic
#5B2160 #86308D #B140BB #C56CCD #D799DC

Accessibility & contrast

On white

4.86
#B140BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B140BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140BB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140BB#FFFFFF#000000##FFFFFF
##B140BB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#B45378
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b140bb;
/* rgb */ color: rgb(177, 64, 187);
/* oklch */ color: oklch(57.6% 0.205 324.4);
Tailwind
colors: {
  custom: {
    50: '#cc7dd0',
    500: '#b140bb',
    950: '#000000',
  },
}
SCSS
$custom: #b140bb;
$custom-light: #cc7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b140bb",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 295.122,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57611,
    "c": 0.20532,
    "h": 324.4
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#B140BB
secondary
#93C88F
accent
#D94F5A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #B140BB

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

Preview Lab → · Contrast checker → · Palette generator →

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