#B161CA#B161CA

#B161CA is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.6% C 0.171 H 317.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B161CA
RGBrgb(177, 97, 202)
HSLhsl(286, 50%, 59%)
HSVhsv(286, 52%, 79%)
CMYKcmyk(12.4%, 52%, 0%, 20.8%)
CIE-LABlab(54.20, 49.07, -41.47)
CIE-LCHlch(54.20, 64.25, 319.80°)
OKLaboklab(62.57% 0.1264 -0.1153)
OKLCHoklch(62.57% 0.171 317.6)
XYZxyz(33.0653, 22.1619, 58.4016)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161CA #7ACA61
analogous
#7C61CA #B161CA #CA61AE
triadic
#B161CA #CAB161 #61CAB1
tetradic
#B161CA #CA7C61 #7ACA61 #61AECA
square
#B161CA #CA7C61 #7ACA61 #61AECA
split-complementary
#B161CA #AECA61 #61CA7C
monochromatic
#6F2C84 #963CB2 #B161CA #C88FD9 #DEBDE9

Accessibility & contrast

On white

3.87
#B161CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B161CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161CA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161CA#FFFFFF#000000##000000
##B161CA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCE
Deuteranopia (green-blind)
#6584C7
Tritanopia (blue-blind)
#B1718C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b161ca;
/* rgb */ color: rgb(177, 97, 202);
/* oklch */ color: oklch(62.6% 0.171 317.6);
Tailwind
colors: {
  custom: {
    50: '#ca91da',
    500: '#b161ca',
    950: '#000000',
  },
}
SCSS
$custom: #b161ca;
$custom-light: #ca91da;
$custom-dark: #000000;
JSON
{
  "hex": "#b161ca",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 285.714,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62566,
    "c": 0.17103,
    "h": 317.6
  },
  "luminance": 0.22161
}

Semantic roles & 50–950 ramp

primary
#B161CA
secondary
#B9D8AF
accent
#D94F70
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B161CA

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

Preview Lab → · Contrast checker → · Palette generator →

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