#B984FA#B984FA

#B984FA is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.4% C 0.173 H 303.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B984FA
RGBrgb(185, 132, 250)
HSLhsl(267, 92%, 75%)
HSVhsv(267, 47%, 98%)
CMYKcmyk(26%, 47.2%, 0%, 2%)
CIE-LABlab(64.74, 43.15, -51.59)
CIE-LCHlch(64.74, 67.26, 309.91°)
OKLaboklab(71.37% 0.094 -0.1447)
OKLCHoklch(71.37% 0.173 303)
XYZxyz(45.5104, 33.7190, 94.5348)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B984FA #C5FA84
analogous
#848AFA #B984FA #F484FA
triadic
#B984FA #FAB984 #84FAB9
tetradic
#B984FA #FA848A #C5FA84 #84FAF4
square
#B984FA #FA848A #C5FA84 #84FAF4
split-complementary
#B984FA #FAF484 #8AFA84
monochromatic
#760EF5 #9849F8 #B984FA #DABFFC #EEE2FE

Accessibility & contrast

On white

2.71
#B984FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B984FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B984FA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B984FA#FFFFFF#000000##000000
##B984FA1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#AD99B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b984fa;
/* rgb */ color: rgb(185, 132, 250);
/* oklch */ color: oklch(71.4% 0.173 303.0);
Tailwind
colors: {
  custom: {
    50: '#d0a9fc',
    500: '#b984fa',
    950: '#000000',
  },
}
SCSS
$custom: #b984fa;
$custom-light: #d0a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b984fa",
  "rgb": {
    "r": 185,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 266.949,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71374,
    "c": 0.17254,
    "h": 303
  },
  "luminance": 0.33719
}

Semantic roles & 50–950 ramp

primary
#B984FA
secondary
#E7F6D5
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B984FA

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

Preview Lab → · Contrast checker → · Palette generator →

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