#B161CF#B161CF

#B161CF is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.8% C 0.176 H 316.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B161CF
RGBrgb(177, 97, 207)
HSLhsl(284, 53%, 60%)
HSVhsv(284, 53%, 81%)
CMYKcmyk(14.5%, 53.1%, 0%, 18.8%)
CIE-LABlab(54.45, 50.10, -43.92)
CIE-LCHlch(54.45, 66.63, 318.76°)
OKLaboklab(62.83% 0.1269 -0.1224)
OKLCHoklch(62.83% 0.176 316)
XYZxyz(33.6669, 22.4026, 61.5700)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161CF #7FCF61
analogous
#7A61CF #B161CF #CF61B6
triadic
#B161CF #CFB161 #61CFB1
tetradic
#B161CF #CF7A61 #7FCF61 #61B6CF
square
#B161CF #CF7A61 #7FCF61 #61B6CF
split-complementary
#B161CF #B6CF61 #61CF7A
monochromatic
#712A8B #9739BA #B161CF #C890DD #DFBFEC

Accessibility & contrast

On white

3.83
#B161CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B161CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161CF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161CF#FFFFFF#000000##000000
##B161CF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD3
Deuteranopia (green-blind)
#6285CC
Tritanopia (blue-blind)
#AF728F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b161cf;
/* rgb */ color: rgb(177, 97, 207);
/* oklch */ color: oklch(62.8% 0.176 316.0);
Tailwind
colors: {
  custom: {
    50: '#cb91de',
    500: '#b161cf',
    950: '#000000',
  },
}
SCSS
$custom: #b161cf;
$custom-light: #cb91de;
$custom-dark: #000000;
JSON
{
  "hex": "#b161cf",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 283.636,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62835,
    "c": 0.17626,
    "h": 316
  },
  "luminance": 0.22401
}

Semantic roles & 50–950 ramp

primary
#B161CF
secondary
#BCDBB1
accent
#DD4B73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B161CF

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

Preview Lab → · Contrast checker → · Palette generator →

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