#B978DF#B978DF

#B978DF is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.160 H 311.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B978DF
RGBrgb(185, 120, 223)
HSLhsl(278, 62%, 67%)
HSVhsv(278, 46%, 87%)
CMYKcmyk(17%, 46.2%, 0%, 12.5%)
CIE-LABlab(60.85, 43.58, -42.79)
CIE-LCHlch(60.85, 61.07, 315.52°)
OKLaboklab(68.04% 0.1068 -0.119)
OKLCHoklch(68.04% 0.16 311.9)
XYZxyz(40.0410, 29.0757, 73.3006)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978DF #9EDF78
analogous
#8678DF #B978DF #DF78D2
triadic
#B978DF #DFB978 #78DFB9
tetradic
#B978DF #DF8678 #9EDF78 #78D2DF
square
#B978DF #DF8678 #9EDF78 #78D2DF
split-complementary
#B978DF #D2DF78 #78DF86
monochromatic
#802AB2 #9F47D3 #B978DF #D3A9EB #ECDBF6

Accessibility & contrast

On white

3.08
#B978DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B978DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978DF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978DF#FFFFFF#000000##000000
##B978DF1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE3
Deuteranopia (green-blind)
#7394DC
Tritanopia (blue-blind)
#B588A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b978df;
/* rgb */ color: rgb(185, 120, 223);
/* oklch */ color: oklch(68.0% 0.160 311.9);
Tailwind
colors: {
  custom: {
    50: '#d0a0e9',
    500: '#b978df',
    950: '#000000',
  },
}
SCSS
$custom: #b978df;
$custom-light: #d0a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b978df",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 277.864,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6804,
    "c": 0.15995,
    "h": 311.9
  },
  "luminance": 0.29075
}

Semantic roles & 50–950 ramp

primary
#B978DF
secondary
#D5EAC9
accent
#C91C5C
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B978DF

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

Preview Lab → · Contrast checker → · Palette generator →

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