#B161CB#B161CB

#B161CB is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.6% C 0.172 H 317.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B161CB
RGBrgb(177, 97, 203)
HSLhsl(285, 50%, 59%)
HSVhsv(285, 52%, 80%)
CMYKcmyk(12.8%, 52.2%, 0%, 20.4%)
CIE-LABlab(54.25, 49.28, -41.96)
CIE-LCHlch(54.25, 64.72, 319.59°)
OKLaboklab(62.62% 0.1265 -0.1167)
OKLCHoklch(62.62% 0.172 317.3)
XYZxyz(33.1841, 22.2094, 59.0272)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161CB #7BCB61
analogous
#7C61CB #B161CB #CB61B0
triadic
#B161CB #CBB161 #61CBB1
tetradic
#B161CB #CB7C61 #7BCB61 #61B0CB
square
#B161CB #CB7C61 #7BCB61 #61B0CB
split-complementary
#B161CB #B0CB61 #61CB7C
monochromatic
#702C86 #963BB4 #B161CB #C88FDA #DEBDE9

Accessibility & contrast

On white

3.86
#B161CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B161CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161CB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161CB#FFFFFF#000000##000000
##B161CB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#B0718D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b161cb;
/* rgb */ color: rgb(177, 97, 203);
/* oklch */ color: oklch(62.6% 0.172 317.3);
Tailwind
colors: {
  custom: {
    50: '#ca91db',
    500: '#b161cb',
    950: '#000000',
  },
}
SCSS
$custom: #b161cb;
$custom-light: #ca91db;
$custom-dark: #000000;
JSON
{
  "hex": "#b161cb",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 285.283,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6262,
    "c": 0.17208,
    "h": 317.3
  },
  "luminance": 0.22208
}

Semantic roles & 50–950 ramp

primary
#B161CB
secondary
#B9D9AF
accent
#DA4E70
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B161CB

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

Preview Lab → · Contrast checker → · Palette generator →

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