#B140B0#B140B0

#B140B0 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 57.0% C 0.196 H 328.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B140B0
RGBrgb(177, 64, 176)
HSLhsl(301, 47%, 47%)
HSVhsv(301, 64%, 69%)
CMYKcmyk(0%, 63.8%, 0.6%, 30.6%)
CIE-LABlab(47.17, 59.61, -37.50)
CIE-LCHlch(47.17, 70.43, 327.83°)
OKLaboklab(57% 0.1665 -0.1035)
OKLCHoklch(57% 0.196 328.1)
XYZxyz(27.8010, 16.1504, 42.7189)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140B0 #40B141
analogous
#7A40B1 #B140B0 #B14078
triadic
#B140B0 #B0B140 #40B0B1
tetradic
#B140B0 #B17A40 #40B141 #4078B1
square
#B140B0 #B17A40 #40B141 #4078B1
split-complementary
#B140B0 #78B140 #40B17A
monochromatic
#571F57 #843083 #B140B0 #C866C7 #D893D7

Accessibility & contrast

On white

4.97
#B140B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B140B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140B0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140B0#FFFFFF#000000##FFFFFF
##B140B01.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B3
Deuteranopia (green-blind)
#5C75AD
Tritanopia (blue-blind)
#B64F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b140b0;
/* rgb */ color: rgb(177, 64, 176);
/* oklch */ color: oklch(57.0% 0.196 328.1);
Tailwind
colors: {
  custom: {
    50: '#cb7dc8',
    500: '#b140b0',
    950: '#000000',
  },
}
SCSS
$custom: #b140b0;
$custom-light: #cb7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#b140b0",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 300.531,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.19608,
    "h": 328.1
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#B140B0
secondary
#89C38A
accent
#D75251
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B140B0

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

Preview Lab → · Contrast checker → · Palette generator →

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