#B140AC#B140AC

#B140AC is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.8% C 0.193 H 329.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B140AC
RGBrgb(177, 64, 172)
HSLhsl(303, 47%, 47%)
HSVhsv(303, 64%, 69%)
CMYKcmyk(0%, 63.8%, 2.8%, 30.6%)
CIE-LABlab(46.97, 58.93, -35.47)
CIE-LCHlch(46.97, 68.78, 328.96°)
OKLaboklab(56.78% 0.1662 -0.0976)
OKLCHoklch(56.78% 0.193 329.6)
XYZxyz(27.4110, 15.9944, 40.6652)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140AC #40B145
analogous
#7E40B1 #B140AC #B14073
triadic
#B140AC #ACB140 #40ACB1
tetradic
#B140AC #B17E40 #40B145 #4073B1
square
#B140AC #B17E40 #40B145 #4073B1
split-complementary
#B140AC #73B140 #40B17E
monochromatic
#571F55 #843080 #B140AC #C866C4 #D893D5

Accessibility & contrast

On white

5.00
#B140AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B140AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140AC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140AC#FFFFFF#000000##FFFFFF
##B140AC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666AF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#B74D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b140ac;
/* rgb */ color: rgb(177, 64, 172);
/* oklch */ color: oklch(56.8% 0.193 329.6);
Tailwind
colors: {
  custom: {
    50: '#cb7dc5',
    500: '#b140ac',
    950: '#000000',
  },
}
SCSS
$custom: #b140ac;
$custom-light: #cb7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b140ac",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 302.655,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.1928,
    "h": 329.6
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B140AC

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

Preview Lab → · Contrast checker → · Palette generator →

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