#B984E5#B984E5

#B984E5 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.3% C 0.147 H 308.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B984E5
RGBrgb(185, 132, 229)
HSLhsl(273, 65%, 71%)
HSVhsv(273, 42%, 90%)
CMYKcmyk(19.2%, 42.4%, 0%, 10.2%)
CIE-LABlab(63.73, 38.36, -41.60)
CIE-LCHlch(63.73, 56.59, 312.68°)
OKLaboklab(70.29% 0.091 -0.1156)
OKLCHoklch(70.29% 0.147 308.2)
XYZxyz(42.3990, 32.4744, 78.1481)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B984E5 #B0E584
analogous
#8884E5 #B984E5 #E584E0
triadic
#B984E5 #E5B984 #84E5B9
tetradic
#B984E5 #E58884 #B0E584 #84E0E5
square
#B984E5 #E58884 #B0E584 #84E0E5
split-complementary
#B984E5 #E0E584 #84E588
monochromatic
#7F2AC5 #9C51DA #B984E5 #D6B7F0 #F1E6FA

Accessibility & contrast

On white

2.80
#B984E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B984E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B984E5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B984E5#FFFFFF#000000##000000
##B984E51.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E9
Deuteranopia (green-blind)
#7B9BE2
Tritanopia (blue-blind)
#B393AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b984e5;
/* rgb */ color: rgb(185, 132, 229);
/* oklch */ color: oklch(70.3% 0.147 308.2);
Tailwind
colors: {
  custom: {
    50: '#d0a8ed',
    500: '#b984e5',
    950: '#000000',
  },
}
SCSS
$custom: #b984e5;
$custom-light: #d0a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b984e5",
  "rgb": {
    "r": 185,
    "g": 132,
    "b": 229
  },
  "hsl": {
    "h": 272.784,
    "s": 65.101,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70292,
    "c": 0.14716,
    "h": 308.2
  },
  "luminance": 0.32474
}

Semantic roles & 50–950 ramp

primary
#B984E5
secondary
#E1EFD5
accent
#CD196A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B984E5

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

Preview Lab → · Contrast checker → · Palette generator →

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