#B978BC#B978BC

#B978BC is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.4% C 0.122 H 325.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B978BC
RGBrgb(185, 120, 188)
HSLhsl(297, 34%, 60%)
HSVhsv(297, 36%, 74%)
CMYKcmyk(1.6%, 36.2%, 0%, 26.3%)
CIE-LABlab(59.32, 36.42, -25.42)
CIE-LCHlch(59.32, 44.41, 325.09°)
OKLaboklab(66.4% 0.1 -0.0692)
OKLCHoklch(66.4% 0.122 325.3)
XYZxyz(35.8003, 27.3795, 50.9662)
Luminance0.2738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978BC #7BBC78
analogous
#9778BC #B978BC #BC789D
triadic
#B978BC #BCB978 #78BCB9
tetradic
#B978BC #BC9778 #7BBC78 #789DBC
square
#B978BC #BC9778 #7BBC78 #789DBC
split-complementary
#B978BC #9DBC78 #78BC97
monochromatic
#793E7C #A152A5 #B978BC #CEA1D0 #E3CAE5

Accessibility & contrast

On white

3.24
#B978BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B978BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978BC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978BC#FFFFFF#000000##000000
##B978BC1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABF
Deuteranopia (green-blind)
#8392BA
Tritanopia (blue-blind)
#BC7F91
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b978bc;
/* rgb */ color: rgb(185, 120, 188);
/* oklch */ color: oklch(66.4% 0.122 325.3);
Tailwind
colors: {
  custom: {
    50: '#cfa0d0',
    500: '#b978bc',
    950: '#000000',
  },
}
SCSS
$custom: #b978bc;
$custom-light: #cfa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b978bc",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 297.353,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66396,
    "c": 0.12164,
    "h": 325.3
  },
  "luminance": 0.27378
}

Semantic roles & 50–950 ramp

primary
#B978BC
secondary
#BCD5BB
accent
#AC393E
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #B978BC

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

Preview Lab → · Contrast checker → · Palette generator →

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