#984BB5#984BB5

#984BB5 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.172 H 315.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#984BB5
RGBrgb(152, 75, 181)
HSLhsl(284, 42%, 50%)
HSVhsv(284, 59%, 71%)
CMYKcmyk(16%, 58.6%, 0%, 29%)
CIE-LABlab(45.70, 49.24, -43.00)
CIE-LCHlch(45.70, 65.37, 318.87°)
OKLaboklab(55.28% 0.1236 -0.1202)
OKLCHoklch(55.28% 0.172 315.8)
XYZxyz(23.8042, 15.0445, 45.3571)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BB5 #68B54B
analogous
#634BB5 #984BB5 #B54B9D
triadic
#984BB5 #B5984B #4BB598
tetradic
#984BB5 #B5634B #68B54B #4B9DB5
square
#984BB5 #B5634B #68B54B #4B9DB5
split-complementary
#984BB5 #9DB54B #4BB563
monochromatic
#4F275F #74398A #984BB5 #B176C7 #CAA2D9

Accessibility & contrast

On white

5.24
#984BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#984BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BB5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BB5#FFFFFF#000000##FFFFFF
##984BB51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B8
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#965D79
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984bb5;
/* rgb */ color: rgb(152, 75, 181);
/* oklch */ color: oklch(55.3% 0.172 315.8);
Tailwind
colors: {
  custom: {
    50: '#b981cc',
    500: '#984bb5',
    950: '#000000',
  },
}
SCSS
$custom: #984bb5;
$custom-light: #b981cc;
$custom-dark: #000000;
JSON
{
  "hex": "#984bb5",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 283.585,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.17243,
    "h": 315.8
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#984BB5
secondary
#A3C696
accent
#D25678
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B13
muted
#817C82

Preview Lab

Preview with #984BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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