#B984FE#B984FE

#B984FE is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.6% C 0.177 H 302.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B984FE
RGBrgb(185, 132, 254)
HSLhsl(266, 98%, 76%)
HSVhsv(266, 48%, 100%)
CMYKcmyk(27.2%, 48%, 0%, 0.4%)
CIE-LABlab(64.94, 44.09, -53.47)
CIE-LCHlch(64.94, 69.30, 309.51°)
OKLaboklab(71.59% 0.0945 -0.1501)
OKLCHoklch(71.59% 0.177 302.2)
XYZxyz(46.1442, 33.9725, 97.8731)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B984FE #C9FE84
analogous
#848CFE #B984FE #F684FE
triadic
#B984FE #FEB984 #84FEB9
tetradic
#B984FE #FE848C #C9FE84 #84FEF6
square
#B984FE #FE848C #C9FE84 #84FEF6
split-complementary
#B984FE #FEF684 #8CFE84
monochromatic
#740BFD #9647FE #B984FE #DCC1FE #EEE1FF

Accessibility & contrast

On white

2.69
#B984FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#B984FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B984FE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B984FE#FFFFFF#000000##000000
##B984FE1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#AC9AB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b984fe;
/* rgb */ color: rgb(185, 132, 254);
/* oklch */ color: oklch(71.6% 0.177 302.2);
Tailwind
colors: {
  custom: {
    50: '#d1a9ff',
    500: '#b984fe',
    950: '#000000',
  },
}
SCSS
$custom: #b984fe;
$custom-light: #d1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b984fe",
  "rgb": {
    "r": 185,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 266.066,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7159,
    "c": 0.17738,
    "h": 302.2
  },
  "luminance": 0.33973
}

Semantic roles & 50–950 ramp

primary
#B984FE
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B984FE

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

Preview Lab → · Contrast checker → · Palette generator →

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