#984FB3#984FB3

#984FB3 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.7% C 0.164 H 316.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#984FB3
RGBrgb(152, 79, 179)
HSLhsl(284, 40%, 51%)
HSVhsv(284, 56%, 70%)
CMYKcmyk(15.1%, 55.9%, 0%, 29.8%)
CIE-LABlab(46.34, 46.79, -40.80)
CIE-LCHlch(46.34, 62.08, 318.91°)
OKLaboklab(55.72% 0.1182 -0.1138)
OKLCHoklch(55.72% 0.164 316.1)
XYZxyz(23.8803, 15.5228, 44.3774)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FB3 #6AB34F
analogous
#664FB3 #984FB3 #B34F9C
triadic
#984FB3 #B3984F #4FB398
tetradic
#984FB3 #B3664F #6AB34F #4F9CB3
square
#984FB3 #B3664F #6AB34F #4F9CB3
split-complementary
#984FB3 #9CB34F #4FB366
monochromatic
#50295F #743B89 #984FB3 #B17AC5 #CAA4D8

Accessibility & contrast

On white

5.12
#984FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#984FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FB3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FB3#FFFFFF#000000##FFFFFF
##984FB31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B6
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#975F79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984fb3;
/* rgb */ color: rgb(152, 79, 179);
/* oklch */ color: oklch(55.7% 0.164 316.1);
Tailwind
colors: {
  custom: {
    50: '#b984ca',
    500: '#984fb3',
    950: '#000000',
  },
}
SCSS
$custom: #984fb3;
$custom-light: #b984ca;
$custom-dark: #000000;
JSON
{
  "hex": "#984fb3",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 283.8,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.16411,
    "h": 316.1
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#984FB3
secondary
#A5C599
accent
#D05878
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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