#B140A6#B140A6

#B140A6 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.188 H 331.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B140A6
RGBrgb(177, 64, 166)
HSLhsl(306, 47%, 47%)
HSVhsv(306, 64%, 69%)
CMYKcmyk(0%, 63.8%, 6.2%, 30.6%)
CIE-LABlab(46.67, 57.94, -32.39)
CIE-LCHlch(46.67, 66.37, 330.79°)
OKLaboklab(56.47% 0.1657 -0.0888)
OKLCHoklch(56.47% 0.188 331.8)
XYZxyz(26.8478, 15.7691, 37.6987)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140A6 #40B14B
analogous
#8440B1 #B140A6 #B1406D
triadic
#B140A6 #A6B140 #40A6B1
tetradic
#B140A6 #B18440 #40B14B #406DB1
square
#B140A6 #B18440 #40B14B #406DB1
split-complementary
#B140A6 #6DB140 #40B184
monochromatic
#571F52 #84307C #B140A6 #C866BE #D893D1

Accessibility & contrast

On white

5.06
#B140A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B140A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140A6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140A6#FFFFFF#000000##FFFFFF
##B140A61.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A9
Deuteranopia (green-blind)
#6174A3
Tritanopia (blue-blind)
#B84B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b140a6;
/* rgb */ color: rgb(177, 64, 166);
/* oklch */ color: oklch(56.5% 0.188 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb7dc1',
    500: '#b140a6',
    950: '#000000',
  },
}
SCSS
$custom: #b140a6;
$custom-light: #cb7dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b140a6",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 166
  },
  "hsl": {
    "h": 305.841,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.18798,
    "h": 331.8
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#B140A6
secondary
#89C38F
accent
#D75E51
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B140A6

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

Preview Lab → · Contrast checker → · Palette generator →

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