#B143A7#B143A7

#B143A7 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.9% C 0.185 H 331.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B143A7
RGBrgb(177, 67, 167)
HSLhsl(305, 45%, 48%)
HSVhsv(305, 62%, 69%)
CMYKcmyk(0%, 62.1%, 5.6%, 30.6%)
CIE-LABlab(47.18, 56.84, -32.19)
CIE-LCHlch(47.18, 65.32, 330.48°)
OKLaboklab(56.86% 0.1621 -0.0882)
OKLCHoklch(56.86% 0.185 331.4)
XYZxyz(27.1136, 16.1534, 38.2416)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B143A7 #43B14D
analogous
#8443B1 #B143A7 #B14370
triadic
#B143A7 #A7B143 #43A7B1
tetradic
#B143A7 #B18443 #43B14D #4370B1
square
#B143A7 #B18443 #43B14D #4370B1
split-complementary
#B143A7 #70B143 #43B184
monochromatic
#582153 #85327D #B143A7 #C76ABE #D897D2

Accessibility & contrast

On white

4.96
#B143A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B143A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B143A7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B143A7#FFFFFF#000000##FFFFFF
##B143A71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#6275A4
Tritanopia (blue-blind)
#B84D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b143a7;
/* rgb */ color: rgb(177, 67, 167);
/* oklch */ color: oklch(56.9% 0.185 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ec1',
    500: '#b143a7',
    950: '#000000',
  },
}
SCSS
$custom: #b143a7;
$custom-light: #cb7ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b143a7",
  "rgb": {
    "r": 177,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 305.455,
    "s": 45.082,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.1846,
    "h": 331.4
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#B143A7
secondary
#8CC391
accent
#D55F53
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B143A7

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

Preview Lab → · Contrast checker → · Palette generator →

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