#B140A5#B140A5

#B140A5 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.187 H 332.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B140A5
RGBrgb(177, 64, 165)
HSLhsl(306, 47%, 47%)
HSVhsv(306, 64%, 69%)
CMYKcmyk(0%, 63.8%, 6.8%, 30.6%)
CIE-LABlab(46.62, 57.77, -31.87)
CIE-LCHlch(46.62, 65.98, 331.12°)
OKLaboklab(56.42% 0.1656 -0.0873)
OKLCHoklch(56.42% 0.187 332.2)
XYZxyz(26.7564, 15.7325, 37.2175)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140A5 #40B14C
analogous
#8540B1 #B140A5 #B1406C
triadic
#B140A5 #A5B140 #40A5B1
tetradic
#B140A5 #B18540 #40B14C #406CB1
square
#B140A5 #B18540 #40B14C #406CB1
split-complementary
#B140A5 #6CB140 #40B185
monochromatic
#571F51 #84307B #B140A5 #C866BD #D893D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B140A5#FFFFFF#000000##FFFFFF
##B140A51.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)
#3B64A8
Deuteranopia (green-blind)
#6174A2
Tritanopia (blue-blind)
#B84A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b140a5;
/* rgb */ color: rgb(177, 64, 165);
/* oklch */ color: oklch(56.4% 0.187 332.2);
Tailwind
colors: {
  custom: {
    50: '#cb7dc0',
    500: '#b140a5',
    950: '#000000',
  },
}
SCSS
$custom: #b140a5;
$custom-light: #cb7dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b140a5",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 306.372,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.18718,
    "h": 332.2
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B140A5

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

Preview Lab → · Contrast checker → · Palette generator →

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