#B978DC#B978DC

#B978DC is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.9% C 0.157 H 312.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B978DC
RGBrgb(185, 120, 220)
HSLhsl(279, 59%, 67%)
HSVhsv(279, 45%, 86%)
CMYKcmyk(15.9%, 45.5%, 0%, 13.7%)
CIE-LABlab(60.71, 42.93, -41.33)
CIE-LCHlch(60.71, 59.60, 316.09°)
OKLaboklab(67.89% 0.1064 -0.1148)
OKLCHoklch(67.89% 0.157 312.8)
XYZxyz(39.6401, 28.9154, 71.1893)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978DC #9BDC78
analogous
#8778DC #B978DC #DC78CD
triadic
#B978DC #DCB978 #78DCB9
tetradic
#B978DC #DC8778 #9BDC78 #78CDDC
square
#B978DC #DC8778 #9BDC78 #78CDDC
split-complementary
#B978DC #CDDC78 #78DC87
monochromatic
#802DAD #A047CF #B978DC #D2A9E9 #EBD9F5

Accessibility & contrast

On white

3.10
#B978DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B978DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978DC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978DC#FFFFFF#000000##000000
##B978DC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#7594D9
Tritanopia (blue-blind)
#B687A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b978dc;
/* rgb */ color: rgb(185, 120, 220);
/* oklch */ color: oklch(67.9% 0.157 312.8);
Tailwind
colors: {
  custom: {
    50: '#d0a0e7',
    500: '#b978dc',
    950: '#000000',
  },
}
SCSS
$custom: #b978dc;
$custom-light: #d0a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b978dc",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 279,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.15653,
    "h": 312.8
  },
  "luminance": 0.28915
}

Semantic roles & 50–950 ramp

primary
#B978DC
secondary
#D3E8C8
accent
#C61F5A
background
#FCFAFE
surface
#F9F3FC
border
#D2CDD5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B978DC

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

Preview Lab → · Contrast checker → · Palette generator →

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