#B978EE#B978EE

#B978EE is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.177 H 307.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B978EE
RGBrgb(185, 120, 238)
HSLhsl(273, 78%, 70%)
HSVhsv(273, 50%, 93%)
CMYKcmyk(22.3%, 49.6%, 0%, 6.7%)
CIE-LABlab(61.59, 46.88, -49.97)
CIE-LCHlch(61.59, 68.52, 313.17°)
OKLaboklab(68.83% 0.1087 -0.1399)
OKLCHoklch(68.83% 0.177 307.8)
XYZxyz(42.1536, 29.9208, 84.4270)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978EE #ADEE78
analogous
#7E78EE #B978EE #EE78E8
triadic
#B978EE #EEB978 #78EEB9
tetradic
#B978EE #EE7E78 #ADEE78 #78E8EE
square
#B978EE #EE7E78 #ADEE78 #78E8EE
split-complementary
#B978EE #E8EE78 #78EE7E
monochromatic
#7F1AD1 #9D42E7 #B978EE #D5AEF5 #F1E4FC

Accessibility & contrast

On white

3.01
#B978EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#B978EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978EE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978EE#FFFFFF#000000##000000
##B978EE1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#6A95EB
Tritanopia (blue-blind)
#B18CA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b978ee;
/* rgb */ color: rgb(185, 120, 238);
/* oklch */ color: oklch(68.8% 0.177 307.8);
Tailwind
colors: {
  custom: {
    50: '#d0a1f4',
    500: '#b978ee',
    950: '#000000',
  },
}
SCSS
$custom: #b978ee;
$custom-light: #d0a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b978ee",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 273.051,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68829,
    "c": 0.17714,
    "h": 307.8
  },
  "luminance": 0.2992
}

Semantic roles & 50–950 ramp

primary
#B978EE
secondary
#DFF1D1
accent
#DA0C68
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B978EE

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

Preview Lab → · Contrast checker → · Palette generator →

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