#B142B8#B142B8

#B142B8 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.200 H 325.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B142B8
RGBrgb(177, 66, 184)
HSLhsl(296, 47%, 49%)
HSVhsv(296, 64%, 72%)
CMYKcmyk(3.8%, 64.1%, 0%, 27.8%)
CIE-LABlab(47.89, 60.19, -41.05)
CIE-LCHlch(47.89, 72.85, 325.70°)
OKLaboklab(57.65% 0.1646 -0.1138)
OKLCHoklch(57.65% 0.2 325.3)
XYZxyz(28.7308, 16.7060, 47.0494)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B142B8 #49B842
analogous
#7642B8 #B142B8 #B84284
triadic
#B142B8 #B8B142 #42B8B1
tetradic
#B142B8 #B87642 #49B842 #4284B8
square
#B142B8 #B87642 #49B842 #4284B8
split-complementary
#B142B8 #84B842 #42B876
monochromatic
#5A225E #86328B #B142B8 #C56DCB #D79ADB

Accessibility & contrast

On white

4.84
#B142B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B142B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B142B8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B142B8#FFFFFF#000000##FFFFFF
##B142B81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#5976B5
Tritanopia (blue-blind)
#B55377
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b142b8;
/* rgb */ color: rgb(177, 66, 184);
/* oklch */ color: oklch(57.7% 0.200 325.3);
Tailwind
colors: {
  custom: {
    50: '#cb7ece',
    500: '#b142b8',
    950: '#000000',
  },
}
SCSS
$custom: #b142b8;
$custom-light: #cb7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#b142b8",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 296.441,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.20014,
    "h": 325.3
  },
  "luminance": 0.16704
}

Semantic roles & 50–950 ramp

primary
#B142B8
secondary
#92C78F
accent
#D75159
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B142B8

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

Preview Lab → · Contrast checker → · Palette generator →

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