#B978CB#B978CB

#B978CB is a light, vivid purple. Relative luminance 0.281; OKLCH L 67.1% C 0.138 H 318.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B978CB
RGBrgb(185, 120, 203)
HSLhsl(287, 44%, 63%)
HSVhsv(287, 41%, 80%)
CMYKcmyk(8.9%, 40.9%, 0%, 20.4%)
CIE-LABlab(59.94, 39.39, -32.97)
CIE-LCHlch(59.94, 51.36, 320.07°)
OKLaboklab(67.07% 0.1034 -0.0907)
OKLCHoklch(67.07% 0.138 318.7)
XYZxyz(37.5021, 28.0602, 59.9290)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978CB #8ACB78
analogous
#8F78CB #B978CB #CB78B3
triadic
#B978CB #CBB978 #78CBB9
tetradic
#B978CB #CB8F78 #8ACB78 #78B3CB
square
#B978CB #CB8F78 #8ACB78 #78B3CB
split-complementary
#B978CB #B3CB78 #78CB8F
monochromatic
#7E3891 #A24CBA #B978CB #D0A4DC #E7D0ED

Accessibility & contrast

On white

3.18
#B978CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B978CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978CB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978CB#FFFFFF#000000##000000
##B978CB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCE
Deuteranopia (green-blind)
#7D93C9
Tritanopia (blue-blind)
#B98298
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b978cb;
/* rgb */ color: rgb(185, 120, 203);
/* oklch */ color: oklch(67.1% 0.138 318.7);
Tailwind
colors: {
  custom: {
    50: '#cfa0db',
    500: '#b978cb',
    950: '#000000',
  },
}
SCSS
$custom: #b978cb;
$custom-light: #cfa0db;
$custom-dark: #000000;
JSON
{
  "hex": "#b978cb",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 286.988,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67066,
    "c": 0.13756,
    "h": 318.7
  },
  "luminance": 0.28059
}

Semantic roles & 50–950 ramp

primary
#B978CB
secondary
#C7DEC1
accent
#B82E4C
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #B978CB

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

Preview Lab → · Contrast checker → · Palette generator →

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