#B161BC#B161BC

#B161BC is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.8% C 0.157 H 322.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B161BC
RGBrgb(177, 97, 188)
HSLhsl(293, 40%, 56%)
HSVhsv(293, 48%, 74%)
CMYKcmyk(5.9%, 48.4%, 0%, 26.3%)
CIE-LABlab(53.52, 46.28, -34.50)
CIE-LCHlch(53.52, 57.72, 323.30°)
OKLaboklab(61.85% 0.1246 -0.0951)
OKLCHoklch(61.85% 0.157 322.6)
XYZxyz(31.4823, 21.5287, 50.0643)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161BC #6CBC61
analogous
#8361BC #B161BC #BC6199
triadic
#B161BC #BCB161 #61BCB1
tetradic
#B161BC #BC8361 #6CBC61 #6199BC
square
#B161BC #BC8361 #6CBC61 #6199BC
split-complementary
#B161BC #99BC61 #61BC83
monochromatic
#6A3072 #92439D #B161BC #C68CCE #DBB7E0

Accessibility & contrast

On white

3.96
#B161BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B161BC#FFFFFF#000000##000000
##B161BC1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#B36C86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b161bc;
/* rgb */ color: rgb(177, 97, 188);
/* oklch */ color: oklch(61.8% 0.157 322.6);
Tailwind
colors: {
  custom: {
    50: '#ca91d0',
    500: '#b161bc',
    950: '#000000',
  },
}
SCSS
$custom: #b161bc;
$custom-light: #ca91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b161bc",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 292.747,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61847,
    "c": 0.15672,
    "h": 322.6
  },
  "luminance": 0.21527
}

Semantic roles & 50–950 ramp

primary
#B161BC
secondary
#AECFAA
accent
#D05766
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B161BC

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

Preview Lab → · Contrast checker → · Palette generator →

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