#B141A2#B141A2

#B141A2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.183 H 333.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B141A2
RGBrgb(177, 65, 162)
HSLhsl(308, 46%, 47%)
HSVhsv(308, 63%, 69%)
CMYKcmyk(0%, 63.3%, 8.5%, 30.6%)
CIE-LABlab(46.63, 56.87, -30.08)
CIE-LCHlch(46.63, 64.33, 332.12°)
OKLaboklab(56.38% 0.164 -0.0822)
OKLCHoklch(56.38% 0.183 333.4)
XYZxyz(26.5434, 15.7384, 35.8152)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B141A2 #41B150
analogous
#8841B1 #B141A2 #B1416A
triadic
#B141A2 #A2B141 #41A2B1
tetradic
#B141A2 #B18841 #41B150 #416AB1
square
#B141A2 #B18841 #41B150 #416AB1
split-complementary
#B141A2 #6AB141 #41B188
monochromatic
#572050 #843179 #B141A2 #C768BB #D895CF

Accessibility & contrast

On white

5.06
#B141A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B141A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B141A2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B141A2#FFFFFF#000000##FFFFFF
##B141A21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#63749F
Tritanopia (blue-blind)
#B94A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b141a2;
/* rgb */ color: rgb(177, 65, 162);
/* oklch */ color: oklch(56.4% 0.183 333.4);
Tailwind
colors: {
  custom: {
    50: '#cb7dbe',
    500: '#b141a2',
    950: '#000000',
  },
}
SCSS
$custom: #b141a2;
$custom-light: #cb7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b141a2",
  "rgb": {
    "r": 177,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 308.036,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.18344,
    "h": 333.4
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#B141A2
secondary
#8AC392
accent
#D66452
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B141A2

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

Preview Lab → · Contrast checker → · Palette generator →

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