#B16CD9#B16CD9

#B16CD9 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.0% C 0.170 H 311.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B16CD9
RGBrgb(177, 108, 217)
HSLhsl(278, 59%, 64%)
HSVhsv(278, 50%, 85%)
CMYKcmyk(18.4%, 50.2%, 0%, 14.9%)
CIE-LABlab(57.16, 46.49, -45.30)
CIE-LCHlch(57.16, 64.91, 315.74°)
OKLaboklab(65% 0.113 -0.1265)
OKLCHoklch(65% 0.17 311.8)
XYZxyz(36.0162, 25.0827, 68.5763)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16CD9 #94D96C
analogous
#7A6CD9 #B16CD9 #D96CCA
triadic
#B16CD9 #D9B16C #6CD9B1
tetradic
#B16CD9 #D97A6C #94D96C #6CCAD9
square
#B16CD9 #D97A6C #94D96C #6CCAD9
split-complementary
#B16CD9 #CAD96C #6CD97A
monochromatic
#752AA1 #973BCC #B16CD9 #CB9DE6 #E5CDF2

Accessibility & contrast

On white

3.49
#B16CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B16CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16CD9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16CD9#FFFFFF#000000##000000
##B16CD91.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DD
Deuteranopia (green-blind)
#668BD6
Tritanopia (blue-blind)
#AD7E99
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b16cd9;
/* rgb */ color: rgb(177, 108, 217);
/* oklch */ color: oklch(65.0% 0.170 311.8);
Tailwind
colors: {
  custom: {
    50: '#ca98e5',
    500: '#b16cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b16cd9;
$custom-light: #ca98e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b16cd9",
  "rgb": {
    "r": 177,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 277.982,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64999,
    "c": 0.16957,
    "h": 311.8
  },
  "luminance": 0.25082
}

Semantic roles & 50–950 ramp

primary
#B16CD9
secondary
#CBE4BD
accent
#C71F5C
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B16CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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