#B978BB#B978BB

#B978BB is a light, vivid purple. Relative luminance 0.273; OKLCH L 66.4% C 0.121 H 325.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B978BB
RGBrgb(185, 120, 187)
HSLhsl(298, 33%, 60%)
HSVhsv(298, 36%, 73%)
CMYKcmyk(1.1%, 35.8%, 0%, 26.7%)
CIE-LABlab(59.28, 36.23, -24.91)
CIE-LCHlch(59.28, 43.97, 325.49°)
OKLaboklab(66.35% 0.0998 -0.0678)
OKLCHoklch(66.35% 0.121 325.8)
XYZxyz(35.6929, 27.3365, 50.4004)
Luminance0.2733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978BB #7ABB78
analogous
#9778BB #B978BB #BB789B
triadic
#B978BB #BBB978 #78BBB9
tetradic
#B978BB #BB9778 #7ABB78 #789BBB
square
#B978BB #BB9778 #7ABB78 #789BBB
split-complementary
#B978BB #9BBB78 #78BB97
monochromatic
#793E7B #A152A3 #B978BB #CEA1D0 #E3C9E4

Accessibility & contrast

On white

3.25
#B978BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B978BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978BB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978BB#FFFFFF#000000##000000
##B978BB1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABD
Deuteranopia (green-blind)
#8392B9
Tritanopia (blue-blind)
#BC7E91
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b978bb;
/* rgb */ color: rgb(185, 120, 187);
/* oklch */ color: oklch(66.4% 0.121 325.8);
Tailwind
colors: {
  custom: {
    50: '#cfa0cf',
    500: '#b978bb',
    950: '#000000',
  },
}
SCSS
$custom: #b978bb;
$custom-light: #cfa0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b978bb",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 298.209,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66353,
    "c": 0.12063,
    "h": 325.8
  },
  "luminance": 0.27335
}

Semantic roles & 50–950 ramp

primary
#B978BB
secondary
#BBD4BB
accent
#AC3A3D
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #B978BB

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

Preview Lab → · Contrast checker → · Palette generator →

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