#B16EC8#B16EC8

#B16EC8 is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.4% C 0.147 H 317.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B16EC8
RGBrgb(177, 110, 200)
HSLhsl(285, 45%, 61%)
HSVhsv(285, 45%, 78%)
CMYKcmyk(11.5%, 45%, 0%, 21.6%)
CIE-LABlab(56.75, 41.80, -36.31)
CIE-LCHlch(56.75, 55.37, 319.02°)
OKLaboklab(64.43% 0.1078 -0.1004)
OKLCHoklch(64.43% 0.147 317)
XYZxyz(34.1312, 24.6701, 57.5963)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16EC8 #85C86E
analogous
#846EC8 #B16EC8 #C86EB2
triadic
#B16EC8 #C8B16E #6EC8B1
tetradic
#B16EC8 #C8846E #85C86E #6EB2C8
square
#B16EC8 #C8846E #85C86E #6EB2C8
split-complementary
#B16EC8 #B2C86E #6EC884
monochromatic
#723488 #9844B4 #B16EC8 #C99AD9 #E1C7EA

Accessibility & contrast

On white

3.54
#B16EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B16EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16EC8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16EC8#FFFFFF#000000##000000
##B16EC81.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#B07A92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b16ec8;
/* rgb */ color: rgb(177, 110, 200);
/* oklch */ color: oklch(64.4% 0.147 317.0);
Tailwind
colors: {
  custom: {
    50: '#ca99d9',
    500: '#b16ec8',
    950: '#000000',
  },
}
SCSS
$custom: #b16ec8;
$custom-light: #ca99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b16ec8",
  "rgb": {
    "r": 177,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 284.667,
    "s": 45,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64431,
    "c": 0.14737,
    "h": 317
  },
  "luminance": 0.24669
}

Semantic roles & 50–950 ramp

primary
#B16EC8
secondary
#C1DAB8
accent
#B82D51
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #B16EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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