#B978ED#B978ED

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

Color values

HEX#B978ED
RGBrgb(185, 120, 237)
HSLhsl(273, 76%, 70%)
HSVhsv(273, 49%, 93%)
CMYKcmyk(21.9%, 49.4%, 0%, 7.1%)
CIE-LABlab(61.54, 46.66, -49.50)
CIE-LCHlch(61.54, 68.02, 313.31°)
OKLaboklab(68.77% 0.1086 -0.1385)
OKLCHoklch(68.77% 0.176 308.1)
XYZxyz(42.0071, 29.8622, 83.6554)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978ED #ACED78
analogous
#7E78ED #B978ED #ED78E7
triadic
#B978ED #EDB978 #78EDB9
tetradic
#B978ED #ED7E78 #ACED78 #78E7ED
square
#B978ED #ED7E78 #ACED78 #78E7ED
split-complementary
#B978ED #E7ED78 #78ED7E
monochromatic
#7F1CCF #9D42E6 #B978ED #D5AEF4 #F1E4FB

Accessibility & contrast

On white

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

On black

6.97
#B978ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978ED
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978ED#FFFFFF#000000##000000
##B978ED1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#6B95EA
Tritanopia (blue-blind)
#B28CA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b978ed;
/* rgb */ color: rgb(185, 120, 237);
/* oklch */ color: oklch(68.8% 0.176 308.1);
Tailwind
colors: {
  custom: {
    50: '#d0a1f3',
    500: '#b978ed',
    950: '#000000',
  },
}
SCSS
$custom: #b978ed;
$custom-light: #d0a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b978ed",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 273.333,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.68775,
    "c": 0.17599,
    "h": 308.1
  },
  "luminance": 0.29862
}

Semantic roles & 50–950 ramp

primary
#B978ED
secondary
#DFF1D0
accent
#D90D67
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B978ED

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

Preview Lab → · Contrast checker → · Palette generator →

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