#B140B9#B140B9

#B140B9 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.204 H 325.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B140B9
RGBrgb(177, 64, 185)
HSLhsl(296, 49%, 49%)
HSVhsv(296, 65%, 73%)
CMYKcmyk(4.3%, 65.4%, 0%, 27.5%)
CIE-LABlab(47.65, 61.18, -42.02)
CIE-LCHlch(47.65, 74.22, 325.52°)
OKLaboklab(57.5% 0.1669 -0.1166)
OKLCHoklch(57.5% 0.204 325.1)
XYZxyz(28.7211, 16.5184, 47.5651)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140B9 #48B940
analogous
#7540B9 #B140B9 #B94085
triadic
#B140B9 #B9B140 #40B9B1
tetradic
#B140B9 #B97540 #48B940 #4085B9
square
#B140B9 #B97540 #48B940 #4085B9
split-complementary
#B140B9 #85B940 #40B975
monochromatic
#5A215E #85308C #B140B9 #C56BCC #D798DB

Accessibility & contrast

On white

4.88
#B140B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B140B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140B9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140B9#FFFFFF#000000##FFFFFF
##B140B91.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BD
Deuteranopia (green-blind)
#5776B6
Tritanopia (blue-blind)
#B55277
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b140b9;
/* rgb */ color: rgb(177, 64, 185);
/* oklch */ color: oklch(57.5% 0.204 325.1);
Tailwind
colors: {
  custom: {
    50: '#cc7dce',
    500: '#b140b9',
    950: '#000000',
  },
}
SCSS
$custom: #b140b9;
$custom-light: #cc7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#b140b9",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 296.033,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57497,
    "c": 0.20362,
    "h": 325.1
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#B140B9
secondary
#91C78E
accent
#D85059
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #B140B9

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

Preview Lab → · Contrast checker → · Palette generator →

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