#984BB7#984BB7

#984BB7 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.4% C 0.175 H 315.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#984BB7
RGBrgb(152, 75, 183)
HSLhsl(283, 43%, 51%)
HSVhsv(283, 59%, 72%)
CMYKcmyk(16.9%, 59%, 0%, 28.2%)
CIE-LABlab(45.81, 49.66, -43.99)
CIE-LCHlch(45.81, 66.34, 318.47°)
OKLaboklab(55.4% 0.1237 -0.1231)
OKLCHoklch(55.4% 0.175 315.1)
XYZxyz(24.0109, 15.1272, 46.4456)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BB7 #6AB74B
analogous
#624BB7 #984BB7 #B74BA0
triadic
#984BB7 #B7984B #4BB798
tetradic
#984BB7 #B7624B #6AB74B #4BA0B7
square
#984BB7 #B7624B #6AB74B #4BA0B7
split-complementary
#984BB7 #A0B74B #4BB762
monochromatic
#502761 #74388D #984BB7 #B177C8 #CAA2DA

Accessibility & contrast

On white

5.22
#984BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#984BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BB7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BB7#FFFFFF#000000##FFFFFF
##984BB71.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#4A6FB4
Tritanopia (blue-blind)
#965E7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984bb7;
/* rgb */ color: rgb(152, 75, 183);
/* oklch */ color: oklch(55.4% 0.175 315.1);
Tailwind
colors: {
  custom: {
    50: '#b981cd',
    500: '#984bb7',
    950: '#000000',
  },
}
SCSS
$custom: #984bb7;
$custom-light: #b981cd;
$custom-dark: #000000;
JSON
{
  "hex": "#984bb7",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 282.778,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.17451,
    "h": 315.1
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#984BB7
secondary
#A5C797
accent
#D35579
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B13
muted
#817C82

Preview Lab

Preview with #984BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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