#B161C8#B161C8

#B161C8 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.5% C 0.169 H 318.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B161C8
RGBrgb(177, 97, 200)
HSLhsl(287, 48%, 58%)
HSVhsv(287, 52%, 78%)
CMYKcmyk(11.5%, 51.5%, 0%, 21.6%)
CIE-LABlab(54.10, 48.67, -40.48)
CIE-LCHlch(54.10, 63.30, 320.25°)
OKLaboklab(62.46% 0.1262 -0.1124)
OKLCHoklch(62.46% 0.169 318.3)
XYZxyz(32.8301, 22.0678, 57.1625)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161C8 #78C861
analogous
#7D61C8 #B161C8 #C861AB
triadic
#B161C8 #C8B161 #61C8B1
tetradic
#B161C8 #C87D61 #78C861 #61ABC8
square
#B161C8 #C87D61 #78C861 #61ABC8
split-complementary
#B161C8 #ABC861 #61C87D
monochromatic
#6F2D82 #953DAF #B161C8 #C78ED8 #DEBCE8

Accessibility & contrast

On white

3.88
#B161C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B161C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161C8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161C8#FFFFFF#000000##000000
##B161C81.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCB
Deuteranopia (green-blind)
#6684C5
Tritanopia (blue-blind)
#B1708C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b161c8;
/* rgb */ color: rgb(177, 97, 200);
/* oklch */ color: oklch(62.5% 0.169 318.3);
Tailwind
colors: {
  custom: {
    50: '#ca91d9',
    500: '#b161c8',
    950: '#000000',
  },
}
SCSS
$custom: #b161c8;
$custom-light: #ca91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b161c8",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 286.602,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62461,
    "c": 0.16897,
    "h": 318.3
  },
  "luminance": 0.22067
}

Semantic roles & 50–950 ramp

primary
#B161C8
secondary
#B7D7AE
accent
#D8506E
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #B161C8

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

Preview Lab → · Contrast checker → · Palette generator →

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