#B978DA#B978DA

#B978DA is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.8% C 0.154 H 313.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B978DA
RGBrgb(185, 120, 218)
HSLhsl(280, 57%, 66%)
HSVhsv(280, 45%, 85%)
CMYKcmyk(15.1%, 45%, 0%, 14.5%)
CIE-LABlab(60.61, 42.51, -40.36)
CIE-LCHlch(60.61, 58.61, 316.48°)
OKLaboklab(67.79% 0.1061 -0.112)
OKLCHoklch(67.79% 0.154 313.4)
XYZxyz(39.3768, 28.8101, 69.8027)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978DA #99DA78
analogous
#8878DA #B978DA #DA78CA
triadic
#B978DA #DAB978 #78DAB9
tetradic
#B978DA #DA8878 #99DA78 #78CADA
square
#B978DA #DA8878 #99DA78 #78CADA
split-complementary
#B978DA #CADA78 #78DA88
monochromatic
#802EA9 #A048CD #B978DA #D2A8E7 #EBD8F4

Accessibility & contrast

On white

3.11
#B978DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B978DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978DA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978DA#FFFFFF#000000##000000
##B978DA1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDD
Deuteranopia (green-blind)
#7694D7
Tritanopia (blue-blind)
#B6869F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b978da;
/* rgb */ color: rgb(185, 120, 218);
/* oklch */ color: oklch(67.8% 0.154 313.4);
Tailwind
colors: {
  custom: {
    50: '#d0a0e6',
    500: '#b978da',
    950: '#000000',
  },
}
SCSS
$custom: #b978da;
$custom-light: #d0a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b978da",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 279.796,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67788,
    "c": 0.15426,
    "h": 313.4
  },
  "luminance": 0.28809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B978DA

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

Preview Lab → · Contrast checker → · Palette generator →

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