#B978FE#B978FE

#B978FE is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.7% C 0.196 H 304.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B978FE
RGBrgb(185, 120, 254)
HSLhsl(269, 99%, 73%)
HSVhsv(269, 53%, 100%)
CMYKcmyk(27.2%, 52.8%, 0%, 0.4%)
CIE-LABlab(62.43, 50.53, -57.46)
CIE-LCHlch(62.43, 76.52, 311.32°)
OKLaboklab(69.72% 0.1099 -0.1618)
OKLCHoklch(69.72% 0.196 304.2)
XYZxyz(44.6095, 30.9031, 97.3615)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978FE #BDFE78
analogous
#787AFE #B978FE #FC78FE
triadic
#B978FE #FEB978 #78FEB9
tetradic
#B978FE #FE787A #BDFE78 #78FEFC
square
#B978FE #FE787A #BDFE78 #78FEFC
split-complementary
#B978FE #FEFC78 #7AFE78
monochromatic
#7A02FA #993BFE #B978FE #D8B5FE #EFE1FF

Accessibility & contrast

On white

2.92
#B978FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B978FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B978FE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978FE#FFFFFF#000000##000000
##B978FE1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#AD91B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b978fe;
/* rgb */ color: rgb(185, 120, 254);
/* oklch */ color: oklch(69.7% 0.196 304.2);
Tailwind
colors: {
  custom: {
    50: '#d1a1ff',
    500: '#b978fe',
    950: '#000000',
  },
}
SCSS
$custom: #b978fe;
$custom-light: #d1a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b978fe",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 269.104,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.19558,
    "h": 304.2
  },
  "luminance": 0.30903
}

Semantic roles & 50–950 ramp

primary
#B978FE
secondary
#E6F7D4
accent
#E60076
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B978FE

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

Preview Lab → · Contrast checker → · Palette generator →

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