#984CB3#984CB3

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

Color values

HEX#984CB3
RGBrgb(152, 76, 179)
HSLhsl(284, 40%, 50%)
HSVhsv(284, 58%, 70%)
CMYKcmyk(15.1%, 57.5%, 0%, 29.8%)
CIE-LABlab(45.77, 48.32, -41.71)
CIE-LCHlch(45.77, 63.83, 319.20°)
OKLaboklab(55.3% 0.1222 -0.1165)
OKLCHoklch(55.3% 0.169 316.4)
XYZxyz(23.6688, 15.0998, 44.3068)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CB3 #67B34C
analogous
#654CB3 #984CB3 #B34C9A
triadic
#984CB3 #B3984C #4CB398
tetradic
#984CB3 #B3654C #67B34C #4C9AB3
square
#984CB3 #B3654C #67B34C #4C9AB3
split-complementary
#984CB3 #9AB34C #4CB365
monochromatic
#4F285D #743A88 #984CB3 #B177C5 #C9A2D7

Accessibility & contrast

On white

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

On black

4.02
#984CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##984CB3#FFFFFF#000000##FFFFFF
##984CB31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#4D6FB0
Tritanopia (blue-blind)
#975D78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984cb3;
/* rgb */ color: rgb(152, 76, 179);
/* oklch */ color: oklch(55.3% 0.169 316.4);
Tailwind
colors: {
  custom: {
    50: '#b982ca',
    500: '#984cb3',
    950: '#000000',
  },
}
SCSS
$custom: #984cb3;
$custom-light: #b982ca;
$custom-dark: #000000;
JSON
{
  "hex": "#984cb3",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 284.272,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.16881,
    "h": 316.4
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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