#B161AA#B161AA

#B161AA is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.0% C 0.139 H 330.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B161AA
RGBrgb(177, 97, 170)
HSLhsl(305, 34%, 54%)
HSVhsv(305, 45%, 69%)
CMYKcmyk(0%, 45.2%, 4%, 30.6%)
CIE-LABlab(52.73, 42.90, -25.30)
CIE-LCHlch(52.73, 49.80, 329.46°)
OKLaboklab(61% 0.1212 -0.0689)
OKLCHoklch(61% 0.139 330.4)
XYZxyz(29.6615, 20.8004, 40.4749)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161AA #61B168
analogous
#9061B1 #B161AA #B16182
triadic
#B161AA #AAB161 #61AAB1
tetradic
#B161AA #B19061 #61B168 #6182B1
square
#B161AA #B19061 #61B168 #6182B1
split-complementary
#B161AA #82B161 #61B190
monochromatic
#653261 #8E4688 #B161AA #C58AC0 #D9B3D6

Accessibility & contrast

On white

4.07
#B161AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B161AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161AA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161AA#FFFFFF#000000##000000
##B161AA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AD
Deuteranopia (green-blind)
#7382A8
Tritanopia (blue-blind)
#B7677E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b161aa;
/* rgb */ color: rgb(177, 97, 170);
/* oklch */ color: oklch(61.0% 0.139 330.4);
Tailwind
colors: {
  custom: {
    50: '#ca90c3',
    500: '#b161aa',
    950: '#000000',
  },
}
SCSS
$custom: #b161aa;
$custom-light: #ca90c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b161aa",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 170
  },
  "hsl": {
    "h": 305.25,
    "s": 33.898,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.13939,
    "h": 330.4
  },
  "luminance": 0.20799
}

Semantic roles & 50–950 ramp

primary
#B161AA
secondary
#A6C8A9
accent
#CA675E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #B161AA

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

Preview Lab → · Contrast checker → · Palette generator →

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