#B866C7#B866C7

#B866C7 is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.0% C 0.163 H 321.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B866C7
RGBrgb(184, 102, 199)
HSLhsl(291, 46%, 59%)
HSVhsv(291, 49%, 78%)
CMYKcmyk(7.5%, 48.7%, 0%, 22%)
CIE-LABlab(55.91, 47.85, -37.01)
CIE-LCHlch(55.91, 60.50, 322.28°)
OKLaboklab(63.97% 0.1274 -0.1022)
OKLCHoklch(63.97% 0.163 321.3)
XYZxyz(34.8262, 23.8180, 56.7846)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866C7 #75C766
analogous
#8866C7 #B866C7 #C766A6
triadic
#B866C7 #C7B866 #66C7B8
tetradic
#B866C7 #C78866 #75C766 #66A6C7
square
#B866C7 #C78866 #75C766 #66A6C7
split-complementary
#B866C7 #A6C766 #66C788
monochromatic
#763083 #9E40B0 #B866C7 #CD93D7 #E2C0E8

Accessibility & contrast

On white

3.64
#B866C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B866C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866C7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866C7#FFFFFF#000000##000000
##B866C71.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#6F89C4
Tritanopia (blue-blind)
#BA738D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b866c7;
/* rgb */ color: rgb(184, 102, 199);
/* oklch */ color: oklch(64.0% 0.163 321.3);
Tailwind
colors: {
  custom: {
    50: '#cf94d8',
    500: '#b866c7',
    950: '#000000',
  },
}
SCSS
$custom: #b866c7;
$custom-light: #cf94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b866c7",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 199
  },
  "hsl": {
    "h": 290.722,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.16337,
    "h": 321.3
  },
  "luminance": 0.23817
}

Semantic roles & 50–950 ramp

primary
#B866C7
secondary
#B7D7B1
accent
#D65266
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B866C7

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

Preview Lab → · Contrast checker → · Palette generator →

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