#B984F9#B984F9

#B984F9 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.3% C 0.171 H 303.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B984F9
RGBrgb(185, 132, 249)
HSLhsl(267, 91%, 75%)
HSVhsv(267, 47%, 98%)
CMYKcmyk(25.7%, 47%, 0%, 2.4%)
CIE-LABlab(64.69, 42.92, -51.12)
CIE-LCHlch(64.69, 66.75, 310.01°)
OKLaboklab(71.32% 0.0939 -0.1433)
OKLCHoklch(71.32% 0.171 303.2)
XYZxyz(45.3540, 33.6564, 93.7111)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B984F9 #C4F984
analogous
#848AF9 #B984F9 #F384F9
triadic
#B984F9 #F9B984 #84F9B9
tetradic
#B984F9 #F9848A #C4F984 #84F9F3
square
#B984F9 #F9848A #C4F984 #84F9F3
split-complementary
#B984F9 #F9F384 #8AF984
monochromatic
#770FF3 #984AF6 #B984F9 #DABEFC #EEE2FE

Accessibility & contrast

On white

2.72
#B984F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#B984F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B984F9
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B984F9#FFFFFF#000000##000000
##B984F91.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#AE99B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b984f9;
/* rgb */ color: rgb(185, 132, 249);
/* oklch */ color: oklch(71.3% 0.171 303.2);
Tailwind
colors: {
  custom: {
    50: '#d0a9fc',
    500: '#b984f9',
    950: '#000000',
  },
}
SCSS
$custom: #b984f9;
$custom-light: #d0a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b984f9",
  "rgb": {
    "r": 185,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 267.179,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7132,
    "c": 0.17133,
    "h": 303.2
  },
  "luminance": 0.33656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B984F9

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

Preview Lab → · Contrast checker → · Palette generator →

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