#984FBF#984FBF

#984FBF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.177 H 312.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#984FBF
RGBrgb(152, 79, 191)
HSLhsl(279, 47%, 53%)
HSVhsv(279, 59%, 75%)
CMYKcmyk(20.4%, 58.6%, 0%, 25.1%)
CIE-LABlab(47.01, 49.38, -46.73)
CIE-LCHlch(47.01, 67.98, 316.58°)
OKLaboklab(56.43% 0.1187 -0.1312)
OKLCHoklch(56.43% 0.177 312.2)
XYZxyz(25.1472, 16.0296, 51.0494)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FBF #76BF4F
analogous
#604FBF #984FBF #BF4FAE
triadic
#984FBF #BF984F #4FBF98
tetradic
#984FBF #BF604F #76BF4F #4FAEBF
square
#984FBF #BF604F #76BF4F #4FAEBF
split-complementary
#984FBF #AEBF4F #4FBF60
monochromatic
#54276C #773899 #984FBF #B27CCF #CDA9E0

Accessibility & contrast

On white

4.99
#984FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#984FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FBF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FBF#FFFFFF#000000##FFFFFF
##984FBF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#94637F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984fbf;
/* rgb */ color: rgb(152, 79, 191);
/* oklch */ color: oklch(56.4% 0.177 312.2);
Tailwind
colors: {
  custom: {
    50: '#b984d3',
    500: '#984fbf',
    950: '#000000',
  },
}
SCSS
$custom: #984fbf;
$custom-light: #b984d3;
$custom-dark: #000000;
JSON
{
  "hex": "#984fbf",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 279.107,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.17692,
    "h": 312.2
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#984FBF
secondary
#AECD9D
accent
#D65180
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984FBF

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

Preview Lab → · Contrast checker → · Palette generator →

#984FBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva