#B140B1#B140B1

#B140B1 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.1% C 0.197 H 327.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B140B1
RGBrgb(177, 64, 177)
HSLhsl(300, 47%, 47%)
HSVhsv(300, 64%, 69%)
CMYKcmyk(0%, 63.8%, 0%, 30.6%)
CIE-LABlab(47.22, 59.78, -38.00)
CIE-LCHlch(47.22, 70.84, 327.56°)
OKLaboklab(57.05% 0.1666 -0.105)
OKLCHoklch(57.05% 0.197 327.8)
XYZxyz(27.9003, 16.1901, 43.2419)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140B1 #40B140
analogous
#7940B1 #B140B1 #B14079
triadic
#B140B1 #B1B140 #40B1B1
tetradic
#B140B1 #B17940 #40B140 #4079B1
square
#B140B1 #B17940 #40B140 #4079B1
split-complementary
#B140B1 #79B140 #40B179
monochromatic
#571F57 #843084 #B140B1 #C866C8 #D893D8

Accessibility & contrast

On white

4.96
#B140B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B140B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140B1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140B1#FFFFFF#000000##FFFFFF
##B140B11.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B4
Deuteranopia (green-blind)
#5B75AE
Tritanopia (blue-blind)
#B64F73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b140b1;
/* rgb */ color: rgb(177, 64, 177);
/* oklch */ color: oklch(57.1% 0.197 327.8);
Tailwind
colors: {
  custom: {
    50: '#cb7dc9',
    500: '#b140b1',
    950: '#000000',
  },
}
SCSS
$custom: #b140b1;
$custom-light: #cb7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b140b1",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 300,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.19691,
    "h": 327.8
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#B140B1
secondary
#89C389
accent
#D75151
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B140B1

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

Preview Lab → · Contrast checker → · Palette generator →

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