#B141B2#B141B2

#B141B2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.2% C 0.196 H 327.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B141B2
RGBrgb(177, 65, 178)
HSLhsl(299, 47%, 48%)
HSVhsv(299, 63%, 70%)
CMYKcmyk(0.6%, 63.5%, 0%, 30.2%)
CIE-LABlab(47.42, 59.55, -38.28)
CIE-LCHlch(47.42, 70.79, 327.27°)
OKLaboklab(57.21% 0.1655 -0.1058)
OKLCHoklch(57.21% 0.196 327.4)
XYZxyz(28.0572, 16.3439, 43.7877)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B141B2 #42B241
analogous
#7841B2 #B141B2 #B2417A
triadic
#B141B2 #B2B141 #41B2B1
tetradic
#B141B2 #B27841 #42B241 #417AB2
square
#B141B2 #B27841 #42B241 #417AB2
split-complementary
#B141B2 #7AB241 #41B278
monochromatic
#582058 #843185 #B141B2 #C768C8 #D895D8

Accessibility & contrast

On white

4.92
#B141B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B141B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B141B2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B141B2#FFFFFF#000000##FFFFFF
##B141B21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#5B76AF
Tritanopia (blue-blind)
#B65074
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b141b2;
/* rgb */ color: rgb(177, 65, 178);
/* oklch */ color: oklch(57.2% 0.196 327.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ec9',
    500: '#b141b2',
    950: '#000000',
  },
}
SCSS
$custom: #b141b2;
$custom-light: #cb7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b141b2",
  "rgb": {
    "r": 177,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 299.469,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57214,
    "c": 0.1964,
    "h": 327.4
  },
  "luminance": 0.16342
}

Semantic roles & 50–950 ramp

primary
#B141B2
secondary
#8BC48B
accent
#D65253
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B141B2

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

Preview Lab → · Contrast checker → · Palette generator →

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