#B140AE#B140AE

#B140AE is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.194 H 328.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B140AE
RGBrgb(177, 64, 174)
HSLhsl(302, 47%, 47%)
HSVhsv(302, 64%, 69%)
CMYKcmyk(0%, 63.8%, 1.7%, 30.6%)
CIE-LABlab(47.07, 59.27, -36.48)
CIE-LCHlch(47.07, 69.60, 328.39°)
OKLaboklab(56.89% 0.1664 -0.1006)
OKLCHoklch(56.89% 0.194 328.8)
XYZxyz(27.6046, 16.0718, 41.6844)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140AE #40B143
analogous
#7C40B1 #B140AE #B14076
triadic
#B140AE #AEB140 #40AEB1
tetradic
#B140AE #B17C40 #40B143 #4076B1
square
#B140AE #B17C40 #40B143 #4076B1
split-complementary
#B140AE #76B140 #40B17C
monochromatic
#571F56 #843082 #B140AE #C866C5 #D893D6

Accessibility & contrast

On white

4.98
#B140AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B140AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140AE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140AE#FFFFFF#000000##FFFFFF
##B140AE1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#5D75AB
Tritanopia (blue-blind)
#B74E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b140ae;
/* rgb */ color: rgb(177, 64, 174);
/* oklch */ color: oklch(56.9% 0.194 328.8);
Tailwind
colors: {
  custom: {
    50: '#cb7dc6',
    500: '#b140ae',
    950: '#000000',
  },
}
SCSS
$custom: #b140ae;
$custom-light: #cb7dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#b140ae",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 301.593,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.19443,
    "h": 328.8
  },
  "luminance": 0.1607
}

Semantic roles & 50–950 ramp

primary
#B140AE
secondary
#89C38B
accent
#D75551
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B140AE

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

Preview Lab → · Contrast checker → · Palette generator →

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