#B161BD#B161BD

#B161BD is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.9% C 0.158 H 322.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B161BD
RGBrgb(177, 97, 189)
HSLhsl(292, 41%, 56%)
HSVhsv(292, 49%, 74%)
CMYKcmyk(6.3%, 48.7%, 0%, 25.9%)
CIE-LABlab(53.57, 46.48, -35.00)
CIE-LCHlch(53.57, 58.18, 323.02°)
OKLaboklab(61.9% 0.1247 -0.0966)
OKLCHoklch(61.9% 0.158 322.2)
XYZxyz(31.5905, 21.5720, 50.6340)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161BD #6DBD61
analogous
#8361BD #B161BD #BD619B
triadic
#B161BD #BDB161 #61BDB1
tetradic
#B161BD #BD8361 #6DBD61 #619BBD
square
#B161BD #BD8361 #6DBD61 #619BBD
split-complementary
#B161BD #9BBD61 #61BD83
monochromatic
#6B3073 #93429F #B161BD #C68CCF #DCB7E1

Accessibility & contrast

On white

3.95
#B161BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B161BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161BD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161BD#FFFFFF#000000##000000
##B161BD1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#B36D86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b161bd;
/* rgb */ color: rgb(177, 97, 189);
/* oklch */ color: oklch(61.9% 0.158 322.2);
Tailwind
colors: {
  custom: {
    50: '#ca91d1',
    500: '#b161bd',
    950: '#000000',
  },
}
SCSS
$custom: #b161bd;
$custom-light: #ca91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b161bd",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 292.174,
    "s": 41.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61897,
    "c": 0.15773,
    "h": 322.2
  },
  "luminance": 0.21571
}

Semantic roles & 50–950 ramp

primary
#B161BD
secondary
#AFD0AA
accent
#D15767
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B161BD

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

Preview Lab → · Contrast checker → · Palette generator →

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