#B140AA#B140AA

#B140AA is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.191 H 330.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B140AA
RGBrgb(177, 64, 170)
HSLhsl(304, 47%, 47%)
HSVhsv(304, 64%, 69%)
CMYKcmyk(0%, 63.8%, 4%, 30.6%)
CIE-LABlab(46.87, 58.60, -34.44)
CIE-LCHlch(46.87, 67.97, 329.55°)
OKLaboklab(56.68% 0.1661 -0.0947)
OKLCHoklch(56.68% 0.191 330.3)
XYZxyz(27.2204, 15.9181, 39.6612)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140AA #40B147
analogous
#8040B1 #B140AA #B14071
triadic
#B140AA #AAB140 #40AAB1
tetradic
#B140AA #B18040 #40B147 #4071B1
square
#B140AA #B18040 #40B147 #4071B1
split-complementary
#B140AA #71B140 #40B180
monochromatic
#571F54 #84307F #B140AA #C866C2 #D893D4

Accessibility & contrast

On white

5.02
#B140AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B140AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140AA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140AA#FFFFFF#000000##FFFFFF
##B140AA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#5F75A7
Tritanopia (blue-blind)
#B74C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b140aa;
/* rgb */ color: rgb(177, 64, 170);
/* oklch */ color: oklch(56.7% 0.191 330.3);
Tailwind
colors: {
  custom: {
    50: '#cb7dc3',
    500: '#b140aa',
    950: '#000000',
  },
}
SCSS
$custom: #b140aa;
$custom-light: #cb7dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b140aa",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 303.717,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.19117,
    "h": 330.3
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#B140AA
secondary
#89C38D
accent
#D75A51
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B140AA

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

Preview Lab → · Contrast checker → · Palette generator →

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