#984CB2#984CB2

#984CB2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.2% C 0.168 H 316.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#984CB2
RGBrgb(152, 76, 178)
HSLhsl(285, 40%, 50%)
HSVhsv(285, 57%, 70%)
CMYKcmyk(14.6%, 57.3%, 0%, 30.2%)
CIE-LABlab(45.72, 48.11, -41.21)
CIE-LCHlch(45.72, 63.34, 319.42°)
OKLaboklab(55.24% 0.1221 -0.115)
OKLCHoklch(55.24% 0.168 316.7)
XYZxyz(23.5680, 15.0595, 43.7761)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CB2 #66B24C
analogous
#654CB2 #984CB2 #B24C99
triadic
#984CB2 #B2984C #4CB298
tetradic
#984CB2 #B2654C #66B24C #4C99B2
square
#984CB2 #B2654C #66B24C #4C99B2
split-complementary
#984CB2 #99B24C #4CB265
monochromatic
#4F275C #733A87 #984CB2 #B176C5 #C9A1D7

Accessibility & contrast

On white

5.23
#984CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #984CB2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CB2#FFFFFF#000000##FFFFFF
##984CB21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B5
Deuteranopia (green-blind)
#4E6FAF
Tritanopia (blue-blind)
#975D78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984cb2;
/* rgb */ color: rgb(152, 76, 178);
/* oklch */ color: oklch(55.2% 0.168 316.7);
Tailwind
colors: {
  custom: {
    50: '#b982c9',
    500: '#984cb2',
    950: '#000000',
  },
}
SCSS
$custom: #984cb2;
$custom-light: #b982c9;
$custom-dark: #000000;
JSON
{
  "hex": "#984cb2",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 284.706,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.16777,
    "h": 316.7
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#984CB2
secondary
#A2C496
accent
#D05876
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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