#B978FF#B978FF

#B978FF is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.8% C 0.197 H 304.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B978FF
RGBrgb(185, 120, 255)
HSLhsl(269, 100%, 74%)
HSVhsv(269, 53%, 100%)
CMYKcmyk(27.5%, 52.9%, 0%, 0%)
CIE-LABlab(62.48, 50.76, -57.93)
CIE-LCHlch(62.48, 77.02, 311.23°)
OKLaboklab(69.78% 0.11 -0.1631)
OKLCHoklch(69.78% 0.197 304)
XYZxyz(44.7701, 30.9674, 98.2071)
Luminance0.3097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978FF #BEFF78
analogous
#787AFF #B978FF #FD78FF
triadic
#B978FF #FFB978 #78FFB9
tetradic
#B978FF #FF787A #BEFF78 #78FFFD
square
#B978FF #FF787A #BEFF78 #78FFFD
split-complementary
#B978FF #FFFD78 #7AFF78
monochromatic
#7A00FD #993BFF #B978FF #D9B5FF #EFE0FF

Accessibility & contrast

On white

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

On black

7.19
#B978FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B978FF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978FF#FFFFFF#000000##000000
##B978FF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#5E97FC
Tritanopia (blue-blind)
#AD91B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b978ff;
/* rgb */ color: rgb(185, 120, 255);
/* oklch */ color: oklch(69.8% 0.197 304.0);
Tailwind
colors: {
  custom: {
    50: '#d1a1ff',
    500: '#b978ff',
    950: '#000000',
  },
}
SCSS
$custom: #b978ff;
$custom-light: #d1a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b978ff",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 268.889,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69781,
    "c": 0.19673,
    "h": 304
  },
  "luminance": 0.30967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B978FF

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

Preview Lab → · Contrast checker → · Palette generator →

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