#B161D7#B161D7

#B161D7 is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.3% C 0.185 H 313.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B161D7
RGBrgb(177, 97, 215)
HSLhsl(281, 60%, 61%)
HSVhsv(281, 55%, 84%)
CMYKcmyk(17.7%, 54.9%, 0%, 15.7%)
CIE-LABlab(54.87, 51.78, -47.80)
CIE-LCHlch(54.87, 70.47, 317.29°)
OKLaboklab(63.28% 0.1275 -0.1337)
OKLCHoklch(63.28% 0.185 313.6)
XYZxyz(34.6698, 22.8037, 66.8520)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161D7 #87D761
analogous
#7661D7 #B161D7 #D761C2
triadic
#B161D7 #D7B161 #61D7B1
tetradic
#B161D7 #D77661 #87D761 #61C2D7
square
#B161D7 #D77661 #87D761 #61C2D7
split-complementary
#B161D7 #C2D761 #61D776
monochromatic
#732697 #9833C8 #B161D7 #C992E3 #E1C3F0

Accessibility & contrast

On white

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

On black

5.56
#B161D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161D7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161D7#FFFFFF#000000##000000
##B161D71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#417FDB
Deuteranopia (green-blind)
#5D85D4
Tritanopia (blue-blind)
#AE7593
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b161d7;
/* rgb */ color: rgb(177, 97, 215);
/* oklch */ color: oklch(63.3% 0.185 313.6);
Tailwind
colors: {
  custom: {
    50: '#cb91e4',
    500: '#b161d7',
    950: '#000000',
  },
}
SCSS
$custom: #b161d7;
$custom-light: #cb91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b161d7",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 215
  },
  "hsl": {
    "h": 280.678,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.18469,
    "h": 313.6
  },
  "luminance": 0.22803
}

Semantic roles & 50–950 ramp

primary
#B161D7
secondary
#C2E0B4
accent
#C71E55
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D15
muted
#827E84

Preview Lab

Preview with #B161D7

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

Preview Lab → · Contrast checker → · Palette generator →

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