#984FBC#984FBC

#984FBC is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.2% C 0.174 H 313.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#984FBC
RGBrgb(152, 79, 188)
HSLhsl(280, 45%, 52%)
HSVhsv(280, 58%, 74%)
CMYKcmyk(19.1%, 58%, 0%, 26.3%)
CIE-LABlab(46.84, 48.72, -45.26)
CIE-LCHlch(46.84, 66.50, 317.11°)
OKLaboklab(56.25% 0.1187 -0.1269)
OKLCHoklch(56.25% 0.174 313.1)
XYZxyz(24.8204, 15.8989, 49.3285)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FBC #73BC4F
analogous
#614FBC #984FBC #BC4FAA
triadic
#984FBC #BC984F #4FBC98
tetradic
#984FBC #BC614F #73BC4F #4FAABC
square
#984FBC #BC614F #73BC4F #4FAABC
split-complementary
#984FBC #AABC4F #4FBC61
monochromatic
#532869 #773995 #984FBC #B27BCD #CCA8DE

Accessibility & contrast

On white

5.02
#984FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#984FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FBC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FBC#FFFFFF#000000##FFFFFF
##984FBC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BC0
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#94627E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984fbc;
/* rgb */ color: rgb(152, 79, 188);
/* oklch */ color: oklch(56.2% 0.174 313.1);
Tailwind
colors: {
  custom: {
    50: '#b984d1',
    500: '#984fbc',
    950: '#000000',
  },
}
SCSS
$custom: #984fbc;
$custom-light: #b984d1;
$custom-dark: #000000;
JSON
{
  "hex": "#984fbc",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 280.183,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56245,
    "c": 0.1737,
    "h": 313.1
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#984FBC
secondary
#ABCB9C
accent
#D5537E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #984FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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