#984DA2#984DA2

#984DA2 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.5% C 0.150 H 322.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#984DA2
RGBrgb(152, 77, 162)
HSLhsl(293, 36%, 47%)
HSVhsv(293, 52%, 64%)
CMYKcmyk(6.2%, 52.5%, 0%, 36.5%)
CIE-LABlab(45.07, 44.33, -32.78)
CIE-LCHlch(45.07, 55.13, 323.52°)
OKLaboklab(54.5% 0.1193 -0.0906)
OKLCHoklch(54.5% 0.15 322.8)
XYZxyz(22.1237, 14.5928, 35.8268)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DA2 #57A24D
analogous
#6E4DA2 #984DA2 #A24D82
triadic
#984DA2 #A2984D #4DA298
tetradic
#984DA2 #A26E4D #57A24D #4D82A2
square
#984DA2 #A26E4D #57A24D #4D82A2
split-complementary
#984DA2 #82A24D #4DA26E
monochromatic
#4A264F #713979 #984DA2 #B371BB #C99ACF

Accessibility & contrast

On white

5.36
#984DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#984DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DA2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DA2#FFFFFF#000000##FFFFFF
##984DA21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#9A5870
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #984da2;
/* rgb */ color: rgb(152, 77, 162);
/* oklch */ color: oklch(54.5% 0.150 322.8);
Tailwind
colors: {
  custom: {
    50: '#b882be',
    500: '#984da2',
    950: '#000000',
  },
}
SCSS
$custom: #984da2;
$custom-light: #b882be;
$custom-dark: #000000;
JSON
{
  "hex": "#984da2",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 292.941,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.14978,
    "h": 322.8
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#984DA2
secondary
#94BC8F
accent
#CC5C69
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #984DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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