#B140A1#B140A1

#B140A1 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.184 H 333.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B140A1
RGBrgb(177, 64, 161)
HSLhsl(308, 47%, 47%)
HSVhsv(308, 64%, 69%)
CMYKcmyk(0%, 63.8%, 9%, 30.6%)
CIE-LABlab(46.43, 57.12, -29.79)
CIE-LCHlch(46.43, 64.43, 332.46°)
OKLaboklab(56.22% 0.1651 -0.0813)
OKLCHoklch(56.22% 0.184 333.8)
XYZxyz(26.3980, 15.5892, 35.3300)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140A1 #40B150
analogous
#8940B1 #B140A1 #B14068
triadic
#B140A1 #A1B140 #40A1B1
tetradic
#B140A1 #B18940 #40B150 #4068B1
square
#B140A1 #B18940 #40B150 #4068B1
split-complementary
#B140A1 #68B140 #40B189
monochromatic
#571F4F #843078 #B140A1 #C866BA #D893CE

Accessibility & contrast

On white

5.10
#B140A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B140A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140A1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140A1#FFFFFF#000000##FFFFFF
##B140A11.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A4
Deuteranopia (green-blind)
#63749E
Tritanopia (blue-blind)
#B9496B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b140a1;
/* rgb */ color: rgb(177, 64, 161);
/* oklch */ color: oklch(56.2% 0.184 333.8);
Tailwind
colors: {
  custom: {
    50: '#cb7dbd',
    500: '#b140a1',
    950: '#000000',
  },
}
SCSS
$custom: #b140a1;
$custom-light: #cb7dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b140a1",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 308.496,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.18406,
    "h": 333.8
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#B140A1
secondary
#89C392
accent
#D76451
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B140A1

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

Preview Lab → · Contrast checker → · Palette generator →

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