#B161CE#B161CE

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

Color values

HEX#B161CE
RGBrgb(177, 97, 206)
HSLhsl(284, 53%, 59%)
HSVhsv(284, 53%, 81%)
CMYKcmyk(14.1%, 52.9%, 0%, 19.2%)
CIE-LABlab(54.40, 49.90, -43.43)
CIE-LCHlch(54.40, 66.15, 318.96°)
OKLaboklab(62.78% 0.1268 -0.121)
OKLCHoklch(62.78% 0.175 316.3)
XYZxyz(33.5451, 22.3538, 60.9282)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161CE #7ECE61
analogous
#7B61CE #B161CE #CE61B4
triadic
#B161CE #CEB161 #61CEB1
tetradic
#B161CE #CE7B61 #7ECE61 #61B4CE
square
#B161CE #CE7B61 #7ECE61 #61B4CE
split-complementary
#B161CE #B4CE61 #61CE7B
monochromatic
#712B8A #9739B9 #B161CE #C890DC #DFBEEB

Accessibility & contrast

On white

3.84
#B161CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B161CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161CE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161CE#FFFFFF#000000##000000
##B161CE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#6385CB
Tritanopia (blue-blind)
#B0728E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b161ce;
/* rgb */ color: rgb(177, 97, 206);
/* oklch */ color: oklch(62.8% 0.175 316.3);
Tailwind
colors: {
  custom: {
    50: '#cb91dd',
    500: '#b161ce',
    950: '#000000',
  },
}
SCSS
$custom: #b161ce;
$custom-light: #cb91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b161ce",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 284.037,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62781,
    "c": 0.17521,
    "h": 316.3
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#B161CE
secondary
#BBDBB0
accent
#DC4C72
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B161CE

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

Preview Lab → · Contrast checker → · Palette generator →

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