#B140B8#B140B8

#B140B8 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.4% C 0.203 H 325.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B140B8
RGBrgb(177, 64, 184)
HSLhsl(297, 48%, 49%)
HSVhsv(297, 65%, 72%)
CMYKcmyk(3.8%, 65.2%, 0%, 27.8%)
CIE-LABlab(47.59, 61.00, -41.52)
CIE-LCHlch(47.59, 73.79, 325.76°)
OKLaboklab(57.44% 0.1669 -0.1152)
OKLCHoklch(57.44% 0.203 325.4)
XYZxyz(28.6159, 16.4764, 47.0111)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140B8 #47B840
analogous
#7540B8 #B140B8 #B84083
triadic
#B140B8 #B8B140 #40B8B1
tetradic
#B140B8 #B87540 #47B840 #4083B8
square
#B140B8 #B87540 #47B840 #4083B8
split-complementary
#B140B8 #83B840 #40B875
monochromatic
#5A205D #85308B #B140B8 #C66ACB #D797DB

Accessibility & contrast

On white

4.89
#B140B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B140B8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140B8#FFFFFF#000000##FFFFFF
##B140B81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A68BC
Deuteranopia (green-blind)
#5776B5
Tritanopia (blue-blind)
#B55277
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b140b8;
/* rgb */ color: rgb(177, 64, 184);
/* oklch */ color: oklch(57.4% 0.203 325.4);
Tailwind
colors: {
  custom: {
    50: '#cc7dce',
    500: '#b140b8',
    950: '#000000',
  },
}
SCSS
$custom: #b140b8;
$custom-light: #cc7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#b140b8",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 296.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5744,
    "c": 0.20277,
    "h": 325.4
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#B140B8
secondary
#90C78D
accent
#D85058
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A13
muted
#827C82

Preview Lab

Preview with #B140B8

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

Preview Lab → · Contrast checker → · Palette generator →

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