#B161D6#B161D6

#B161D6 is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.2% C 0.184 H 313.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B161D6
RGBrgb(177, 97, 214)
HSLhsl(281, 59%, 61%)
HSVhsv(281, 55%, 84%)
CMYKcmyk(17.3%, 54.7%, 0%, 16.1%)
CIE-LABlab(54.82, 51.57, -47.32)
CIE-LCHlch(54.82, 69.99, 317.46°)
OKLaboklab(63.22% 0.1274 -0.1323)
OKLCHoklch(63.22% 0.184 313.9)
XYZxyz(34.5417, 22.7525, 66.1774)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161D6 #86D661
analogous
#7661D6 #B161D6 #D661C0
triadic
#B161D6 #D6B161 #61D6B1
tetradic
#B161D6 #D67661 #86D661 #61C0D6
square
#B161D6 #D67661 #86D661 #61C0D6
split-complementary
#B161D6 #C0D661 #61D676
monochromatic
#732796 #9833C6 #B161D6 #C992E3 #E1C2EF

Accessibility & contrast

On white

3.78
#B161D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B161D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161D6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161D6#FFFFFF#000000##000000
##B161D61.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#427FDA
Deuteranopia (green-blind)
#5E85D3
Tritanopia (blue-blind)
#AE7492
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b161d6;
/* rgb */ color: rgb(177, 97, 214);
/* oklch */ color: oklch(63.2% 0.184 313.9);
Tailwind
colors: {
  custom: {
    50: '#cb91e3',
    500: '#b161d6',
    950: '#000000',
  },
}
SCSS
$custom: #b161d6;
$custom-light: #cb91e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b161d6",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 214
  },
  "hsl": {
    "h": 281.026,
    "s": 58.794,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63222,
    "c": 0.18364,
    "h": 313.9
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#B161D6
secondary
#C1DFB3
accent
#C61F54
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B161D6

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

Preview Lab → · Contrast checker → · Palette generator →

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