#B161BE#B161BE

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

Color values

HEX#B161BE
RGBrgb(177, 97, 190)
HSLhsl(292, 42%, 56%)
HSVhsv(292, 49%, 75%)
CMYKcmyk(6.8%, 48.9%, 0%, 25.5%)
CIE-LABlab(53.62, 46.67, -35.50)
CIE-LCHlch(53.62, 58.64, 322.74°)
OKLaboklab(61.95% 0.1249 -0.098)
OKLCHoklch(61.95% 0.159 321.9)
XYZxyz(31.6994, 21.6156, 51.2077)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161BE #6EBE61
analogous
#8361BE #B161BE #BE619D
triadic
#B161BE #BEB161 #61BEB1
tetradic
#B161BE #BE8361 #6EBE61 #619DBE
square
#B161BE #BE8361 #6EBE61 #619DBE
split-complementary
#B161BE #9DBE61 #61BE83
monochromatic
#6B3075 #9342A0 #B161BE #C68CD0 #DCB8E2

Accessibility & contrast

On white

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

On black

5.32
#B161BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161BE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161BE#FFFFFF#000000##000000
##B161BE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#6B83BB
Tritanopia (blue-blind)
#B36D87
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b161be;
/* rgb */ color: rgb(177, 97, 190);
/* oklch */ color: oklch(61.9% 0.159 321.9);
Tailwind
colors: {
  custom: {
    50: '#ca91d2',
    500: '#b161be',
    950: '#000000',
  },
}
SCSS
$custom: #b161be;
$custom-light: #ca91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b161be",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 190
  },
  "hsl": {
    "h": 291.613,
    "s": 41.704,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61947,
    "c": 0.15873,
    "h": 321.9
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#B161BE
secondary
#B0D1AA
accent
#D25668
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B161BE

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

Preview Lab → · Contrast checker → · Palette generator →

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