#B161B3#B161B3

#B161B3 is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.4% C 0.148 H 326.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B161B3
RGBrgb(177, 97, 179)
HSLhsl(299, 35%, 54%)
HSVhsv(299, 46%, 70%)
CMYKcmyk(1.1%, 45.8%, 0%, 29.8%)
CIE-LABlab(53.12, 44.56, -29.93)
CIE-LCHlch(53.12, 53.68, 326.11°)
OKLaboklab(61.41% 0.123 -0.082)
OKLCHoklch(61.41% 0.148 326.3)
XYZxyz(30.5422, 21.1527, 45.1132)
Luminance0.2115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161B3 #63B361
analogous
#8861B3 #B161B3 #B3618C
triadic
#B161B3 #B3B161 #61B3B1
tetradic
#B161B3 #B38861 #63B361 #618CB3
square
#B161B3 #B38861 #63B361 #618CB3
split-complementary
#B161B3 #8CB361 #61B388
monochromatic
#663268 #8F4691 #B161B3 #C58AC7 #DAB4DB

Accessibility & contrast

On white

4.02
#B161B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B161B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161B3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161B3#FFFFFF#000000##000000
##B161B31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B6
Deuteranopia (green-blind)
#7082B0
Tritanopia (blue-blind)
#B56A82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b161b3;
/* rgb */ color: rgb(177, 97, 179);
/* oklch */ color: oklch(61.4% 0.148 326.3);
Tailwind
colors: {
  custom: {
    50: '#ca90ca',
    500: '#b161b3',
    950: '#000000',
  },
}
SCSS
$custom: #b161b3;
$custom-light: #ca90ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b161b3",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 298.537,
    "s": 35.043,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61411,
    "c": 0.14786,
    "h": 326.3
  },
  "luminance": 0.21151
}

Semantic roles & 50–950 ramp

primary
#B161B3
secondary
#A7C9A6
accent
#CB5D5F
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B161B3

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

Preview Lab → · Contrast checker → · Palette generator →

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