#B978DB#B978DB

#B978DB is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.8% C 0.155 H 313.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B978DB
RGBrgb(185, 120, 219)
HSLhsl(279, 58%, 66%)
HSVhsv(279, 45%, 86%)
CMYKcmyk(15.5%, 45.2%, 0%, 14.1%)
CIE-LABlab(60.66, 42.72, -40.85)
CIE-LCHlch(60.66, 59.11, 316.28°)
OKLaboklab(67.84% 0.1062 -0.1134)
OKLCHoklch(67.84% 0.155 313.1)
XYZxyz(39.5081, 28.8626, 70.4939)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978DB #9ADB78
analogous
#8878DB #B978DB #DB78CC
triadic
#B978DB #DBB978 #78DBB9
tetradic
#B978DB #DB8878 #9ADB78 #78CCDB
square
#B978DB #DB8878 #9ADB78 #78CCDB
split-complementary
#B978DB #CCDB78 #78DB88
monochromatic
#802EAB #A048CE #B978DB #D2A8E8 #EBD9F5

Accessibility & contrast

On white

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

On black

6.77
#B978DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978DB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978DB#FFFFFF#000000##000000
##B978DB1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#7594D8
Tritanopia (blue-blind)
#B6879F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b978db;
/* rgb */ color: rgb(185, 120, 219);
/* oklch */ color: oklch(67.8% 0.155 313.1);
Tailwind
colors: {
  custom: {
    50: '#d0a0e6',
    500: '#b978db',
    950: '#000000',
  },
}
SCSS
$custom: #b978db;
$custom-light: #d0a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b978db",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 279.394,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67838,
    "c": 0.1554,
    "h": 313.1
  },
  "luminance": 0.28862
}

Semantic roles & 50–950 ramp

primary
#B978DB
secondary
#D2E7C7
accent
#C52059
background
#FCFAFE
surface
#F9F3FC
border
#D2CDD5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B978DB

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

Preview Lab → · Contrast checker → · Palette generator →

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