#B140AD#B140AD

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

Color values

HEX#B140AD
RGBrgb(177, 64, 173)
HSLhsl(302, 47%, 47%)
HSVhsv(302, 64%, 69%)
CMYKcmyk(0%, 63.8%, 2.3%, 30.6%)
CIE-LABlab(47.02, 59.10, -35.98)
CIE-LCHlch(47.02, 69.19, 328.67°)
OKLaboklab(56.84% 0.1663 -0.0991)
OKLCHoklch(56.84% 0.194 329.2)
XYZxyz(27.5074, 16.0329, 41.1729)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140AD #40B144
analogous
#7D40B1 #B140AD #B14075
triadic
#B140AD #ADB140 #40ADB1
tetradic
#B140AD #B17D40 #40B144 #4075B1
square
#B140AD #B17D40 #40B144 #4075B1
split-complementary
#B140AD #75B140 #40B17D
monochromatic
#571F55 #843081 #B140AD #C866C4 #D893D6

Accessibility & contrast

On white

4.99
#B140AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B140AD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140AD#FFFFFF#000000##FFFFFF
##B140AD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B0
Deuteranopia (green-blind)
#5D75AA
Tritanopia (blue-blind)
#B74D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b140ad;
/* rgb */ color: rgb(177, 64, 173);
/* oklch */ color: oklch(56.8% 0.194 329.2);
Tailwind
colors: {
  custom: {
    50: '#cb7dc6',
    500: '#b140ad',
    950: '#000000',
  },
}
SCSS
$custom: #b140ad;
$custom-light: #cb7dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#b140ad",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 302.124,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56837,
    "c": 0.19362,
    "h": 329.2
  },
  "luminance": 0.16031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B140AD

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

Preview Lab → · Contrast checker → · Palette generator →

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