#B978FD#B978FD

#B978FD is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.7% C 0.194 H 304.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B978FD
RGBrgb(185, 120, 253)
HSLhsl(269, 97%, 73%)
HSVhsv(269, 53%, 99%)
CMYKcmyk(26.9%, 52.6%, 0%, 0.8%)
CIE-LABlab(62.37, 50.29, -57.00)
CIE-LCHlch(62.37, 76.02, 311.42°)
OKLaboklab(69.67% 0.1098 -0.1604)
OKLCHoklch(69.67% 0.194 304.4)
XYZxyz(44.4498, 30.8393, 96.5203)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978FD #BCFD78
analogous
#7879FD #B978FD #FB78FD
triadic
#B978FD #FDB978 #78FDB9
tetradic
#B978FD #FD7879 #BCFD78 #78FDFB
square
#B978FD #FD7879 #BCFD78 #78FDFB
split-complementary
#B978FD #FDFB78 #79FD78
monochromatic
#7B04F7 #9A3CFC #B978FD #D8B4FE #EFE1FF

Accessibility & contrast

On white

2.93
#B978FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B978FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B978FD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978FD#FFFFFF#000000##000000
##B978FD1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#6097FA
Tritanopia (blue-blind)
#AD91AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b978fd;
/* rgb */ color: rgb(185, 120, 253);
/* oklch */ color: oklch(69.7% 0.194 304.4);
Tailwind
colors: {
  custom: {
    50: '#d1a1ff',
    500: '#b978fd',
    950: '#000000',
  },
}
SCSS
$custom: #b978fd;
$custom-light: #d1a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b978fd",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 269.323,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69666,
    "c": 0.19442,
    "h": 304.4
  },
  "luminance": 0.30839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B978FD

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

Preview Lab → · Contrast checker → · Palette generator →

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