#B978EF#B978EF

#B978EF is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.9% C 0.178 H 307.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B978EF
RGBrgb(185, 120, 239)
HSLhsl(273, 79%, 70%)
HSVhsv(273, 50%, 94%)
CMYKcmyk(22.6%, 49.8%, 0%, 6.3%)
CIE-LABlab(61.64, 47.10, -50.44)
CIE-LCHlch(61.64, 69.02, 313.04°)
OKLaboklab(68.88% 0.1088 -0.1413)
OKLCHoklch(68.88% 0.178 307.6)
XYZxyz(42.3009, 29.9797, 85.2028)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978EF #AEEF78
analogous
#7D78EF #B978EF #EF78EA
triadic
#B978EF #EFB978 #78EFB9
tetradic
#B978EF #EF7D78 #AEEF78 #78EAEF
square
#B978EF #EF7D78 #AEEF78 #78EAEF
split-complementary
#B978EF #EAEF78 #78EF7D
monochromatic
#7F19D4 #9D41E9 #B978EF #D5AFF5 #F1E4FC

Accessibility & contrast

On white

3.00
#B978EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B978EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B978EF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978EF#FFFFFF#000000##000000
##B978EF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F3
Deuteranopia (green-blind)
#6A96EC
Tritanopia (blue-blind)
#B18CA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b978ef;
/* rgb */ color: rgb(185, 120, 239);
/* oklch */ color: oklch(68.9% 0.178 307.6);
Tailwind
colors: {
  custom: {
    50: '#d0a1f5',
    500: '#b978ef',
    950: '#000000',
  },
}
SCSS
$custom: #b978ef;
$custom-light: #d0a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b978ef",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 272.773,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.17829,
    "h": 307.6
  },
  "luminance": 0.29979
}

Semantic roles & 50–950 ramp

primary
#B978EF
secondary
#E0F2D1
accent
#DB0A69
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B978EF

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

Preview Lab → · Contrast checker → · Palette generator →

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