#B943AB#B943AB

#B943AB is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.193 H 332.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B943AB
RGBrgb(185, 67, 171)
HSLhsl(307, 47%, 49%)
HSVhsv(307, 64%, 73%)
CMYKcmyk(0%, 63.8%, 7.6%, 27.5%)
CIE-LABlab(48.60, 59.57, -32.23)
CIE-LCHlch(48.60, 67.73, 331.59°)
OKLaboklab(58.2% 0.1713 -0.0882)
OKLCHoklch(58.2% 0.193 332.8)
XYZxyz(29.3655, 17.2711, 40.3072)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B943AB #43B951
analogous
#8C43B9 #B943AB #B94370
triadic
#B943AB #ABB943 #43ABB9
tetradic
#B943AB #B98C43 #43B951 #4370B9
square
#B943AB #B98C43 #43B951 #4370B9
split-complementary
#B943AB #70B943 #43B98C
monochromatic
#5F2258 #8C3381 #B943AB #CB6FC0 #DB9BD3

Accessibility & contrast

On white

4.72
#B943AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B943AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B943AB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B943AB#FFFFFF#000000##FFFFFF
##B943AB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AE
Deuteranopia (green-blind)
#667AA8
Tritanopia (blue-blind)
#C14D71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b943ab;
/* rgb */ color: rgb(185, 67, 171);
/* oklch */ color: oklch(58.2% 0.193 332.8);
Tailwind
colors: {
  custom: {
    50: '#d17fc4',
    500: '#b943ab',
    950: '#000000',
  },
}
SCSS
$custom: #b943ab;
$custom-light: #d17fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b943ab",
  "rgb": {
    "r": 185,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 307.119,
    "s": 46.825,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58199,
    "c": 0.19263,
    "h": 332.8
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#B943AB
secondary
#91C797
accent
#D66151
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B943AB

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

Preview Lab → · Contrast checker → · Palette generator →

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