#B978DD#B978DD

#B978DD is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.158 H 312.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B978DD
RGBrgb(185, 120, 221)
HSLhsl(279, 60%, 67%)
HSVhsv(279, 46%, 87%)
CMYKcmyk(16.3%, 45.7%, 0%, 13.3%)
CIE-LABlab(60.75, 43.15, -41.82)
CIE-LCHlch(60.75, 60.09, 315.90°)
OKLaboklab(67.94% 0.1065 -0.1162)
OKLCHoklch(67.94% 0.158 312.5)
XYZxyz(39.7730, 28.9685, 71.8889)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978DD #9CDD78
analogous
#8778DD #B978DD #DD78CE
triadic
#B978DD #DDB978 #78DDB9
tetradic
#B978DD #DD8778 #9CDD78 #78CEDD
square
#B978DD #DD8778 #9CDD78 #78CEDD
split-complementary
#B978DD #CEDD78 #78DD87
monochromatic
#802CAF #A047D1 #B978DD #D2A9E9 #ECDAF6

Accessibility & contrast

On white

3.09
#B978DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B978DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978DD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978DD#FFFFFF#000000##000000
##B978DD1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE1
Deuteranopia (green-blind)
#7494DA
Tritanopia (blue-blind)
#B687A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b978dd;
/* rgb */ color: rgb(185, 120, 221);
/* oklch */ color: oklch(67.9% 0.158 312.5);
Tailwind
colors: {
  custom: {
    50: '#d0a0e8',
    500: '#b978dd',
    950: '#000000',
  },
}
SCSS
$custom: #b978dd;
$custom-light: #d0a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b978dd",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 278.614,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67938,
    "c": 0.15766,
    "h": 312.5
  },
  "luminance": 0.28968
}

Semantic roles & 50–950 ramp

primary
#B978DD
secondary
#D4E9C8
accent
#C71E5A
background
#FCFAFE
surface
#F9F3FC
border
#D2CDD5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B978DD

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

Preview Lab → · Contrast checker → · Palette generator →

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