#B140AB#B140AB

#B140AB is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.192 H 329.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B140AB
RGBrgb(177, 64, 171)
HSLhsl(303, 47%, 47%)
HSVhsv(303, 64%, 69%)
CMYKcmyk(0%, 63.8%, 3.4%, 30.6%)
CIE-LABlab(46.92, 58.77, -34.95)
CIE-LCHlch(46.92, 68.38, 329.26°)
OKLaboklab(56.73% 0.1662 -0.0962)
OKLCHoklch(56.73% 0.192 329.9)
XYZxyz(27.3154, 15.9561, 40.1613)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140AB #40B146
analogous
#7F40B1 #B140AB #B14072
triadic
#B140AB #ABB140 #40ABB1
tetradic
#B140AB #B17F40 #40B146 #4072B1
square
#B140AB #B17F40 #40B146 #4072B1
split-complementary
#B140AB #72B140 #40B17F
monochromatic
#571F54 #843080 #B140AB #C866C3 #D893D4

Accessibility & contrast

On white

5.01
#B140AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B140AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140AB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140AB#FFFFFF#000000##FFFFFF
##B140AB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#5E75A8
Tritanopia (blue-blind)
#B74D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b140ab;
/* rgb */ color: rgb(177, 64, 171);
/* oklch */ color: oklch(56.7% 0.192 329.9);
Tailwind
colors: {
  custom: {
    50: '#cb7dc4',
    500: '#b140ab',
    950: '#000000',
  },
}
SCSS
$custom: #b140ab;
$custom-light: #cb7dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b140ab",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 171
  },
  "hsl": {
    "h": 303.186,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.19199,
    "h": 329.9
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#B140AB
secondary
#89C38C
accent
#D75851
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B140AB

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

Preview Lab → · Contrast checker → · Palette generator →

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