#984CB0#984CB0

#984CB0 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.1% C 0.166 H 317.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#984CB0
RGBrgb(152, 76, 176)
HSLhsl(286, 40%, 49%)
HSVhsv(286, 57%, 69%)
CMYKcmyk(13.6%, 56.8%, 0%, 31%)
CIE-LABlab(45.61, 47.69, -40.20)
CIE-LCHlch(45.61, 62.38, 319.87°)
OKLaboklab(55.13% 0.122 -0.1121)
OKLCHoklch(55.13% 0.166 317.4)
XYZxyz(23.3687, 14.9797, 42.7263)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CB0 #64B04C
analogous
#664CB0 #984CB0 #B04C96
triadic
#984CB0 #B0984C #4CB098
tetradic
#984CB0 #B0664C #64B04C #4C96B0
square
#984CB0 #B0664C #64B04C #4C96B0
split-complementary
#984CB0 #96B04C #4CB066
monochromatic
#4E275B #733A85 #984CB0 #B176C4 #C9A0D6

Accessibility & contrast

On white

5.26
#984CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#984CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CB0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CB0#FFFFFF#000000##FFFFFF
##984CB01.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B3
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#975C77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984cb0;
/* rgb */ color: rgb(152, 76, 176);
/* oklch */ color: oklch(55.1% 0.166 317.4);
Tailwind
colors: {
  custom: {
    50: '#b982c8',
    500: '#984cb0',
    950: '#000000',
  },
}
SCSS
$custom: #984cb0;
$custom-light: #b982c8;
$custom-dark: #000000;
JSON
{
  "hex": "#984cb0",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 285.6,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55126,
    "c": 0.1657,
    "h": 317.4
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#984CB0
secondary
#A0C395
accent
#D05875
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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