#B140A9#B140A9

#B140A9 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.190 H 330.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B140A9
RGBrgb(177, 64, 169)
HSLhsl(304, 47%, 47%)
HSVhsv(304, 64%, 69%)
CMYKcmyk(0%, 63.8%, 4.5%, 30.6%)
CIE-LABlab(46.82, 58.43, -33.93)
CIE-LCHlch(46.82, 67.57, 329.86°)
OKLaboklab(56.63% 0.166 -0.0932)
OKLCHoklch(56.63% 0.19 330.7)
XYZxyz(27.1262, 15.8804, 39.1649)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140A9 #40B148
analogous
#8140B1 #B140A9 #B14070
triadic
#B140A9 #A9B140 #40A9B1
tetradic
#B140A9 #B18140 #40B148 #4070B1
square
#B140A9 #B18140 #40B148 #4070B1
split-complementary
#B140A9 #70B140 #40B181
monochromatic
#571F53 #84307E #B140A9 #C866C1 #D893D3

Accessibility & contrast

On white

5.03
#B140A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B140A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140A9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140A9#FFFFFF#000000##FFFFFF
##B140A91.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AC
Deuteranopia (green-blind)
#5F75A6
Tritanopia (blue-blind)
#B84C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b140a9;
/* rgb */ color: rgb(177, 64, 169);
/* oklch */ color: oklch(56.6% 0.190 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb7dc3',
    500: '#b140a9',
    950: '#000000',
  },
}
SCSS
$custom: #b140a9;
$custom-light: #cb7dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b140a9",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 304.248,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.19037,
    "h": 330.7
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#B140A9
secondary
#89C38D
accent
#D75B51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B140A9

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

Preview Lab → · Contrast checker → · Palette generator →

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