#B161D2#B161D2

#B161D2 is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.0% C 0.179 H 315.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B161D2
RGBrgb(177, 97, 210)
HSLhsl(282, 56%, 60%)
HSVhsv(282, 54%, 82%)
CMYKcmyk(15.7%, 53.8%, 0%, 17.6%)
CIE-LABlab(54.61, 50.73, -45.38)
CIE-LCHlch(54.61, 68.06, 318.19°)
OKLaboklab(63% 0.1271 -0.1266)
OKLCHoklch(63% 0.179 315.1)
XYZxyz(34.0372, 22.5507, 63.5200)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161D2 #82D261
analogous
#7861D2 #B161D2 #D261BA
triadic
#B161D2 #D2B161 #61D2B1
tetradic
#B161D2 #D27861 #82D261 #61BAD2
square
#B161D2 #D27861 #82D261 #61BAD2
split-complementary
#B161D2 #BAD261 #61D278
monochromatic
#722990 #9736BF #B161D2 #C991E0 #E0C0ED

Accessibility & contrast

On white

3.81
#B161D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B161D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161D2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161D2#FFFFFF#000000##000000
##B161D21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#6085CF
Tritanopia (blue-blind)
#AF7390
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b161d2;
/* rgb */ color: rgb(177, 97, 210);
/* oklch */ color: oklch(63.0% 0.179 315.1);
Tailwind
colors: {
  custom: {
    50: '#cb91e0',
    500: '#b161d2',
    950: '#000000',
  },
}
SCSS
$custom: #b161d2;
$custom-light: #cb91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b161d2",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 282.478,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63,
    "c": 0.17941,
    "h": 315.1
  },
  "luminance": 0.2255
}

Semantic roles & 50–950 ramp

primary
#B161D2
secondary
#BEDDB2
accent
#C32251
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B161D2

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

Preview Lab → · Contrast checker → · Palette generator →

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