#982E9C#982E9C

#982E9C is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 326.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#982E9C
RGBrgb(152, 46, 156)
HSLhsl(298, 54%, 40%)
HSVhsv(298, 71%, 61%)
CMYKcmyk(2.6%, 70.5%, 0%, 38.8%)
CIE-LABlab(39.63, 57.23, -37.78)
CIE-LCHlch(39.63, 68.58, 326.57°)
OKLaboklab(50.43% 0.1577 -0.1048)
OKLCHoklch(50.43% 0.189 326.4)
XYZxyz(19.9263, 11.0310, 32.5257)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E9C #329C2E
analogous
#612E9C #982E9C #9C2E69
triadic
#982E9C #9C982E #2E9C98
tetradic
#982E9C #9C612E #329C2E #2E699C
square
#982E9C #9C612E #329C2E #2E699C
split-complementary
#982E9C #699C2E #2E9C61
monochromatic
#3C123D #6A206D #982E9C #C240C7 #D170D5

Accessibility & contrast

On white

6.55
#982E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#982E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E9C
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E9C#FFFFFF#000000##FFFFFF
##982E9C1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17559F
Deuteranopia (green-blind)
#476299
Tritanopia (blue-blind)
#9C3F62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982e9c;
/* rgb */ color: rgb(152, 46, 156);
/* oklch */ color: oklch(50.4% 0.189 326.4);
Tailwind
colors: {
  custom: {
    50: '#ba71ba',
    500: '#982e9c',
    950: '#000000',
  },
}
SCSS
$custom: #982e9c;
$custom-light: #ba71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#982e9c",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 297.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.18937,
    "h": 326.4
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#982E9C
secondary
#6DBC6A
accent
#DE4A4F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982E9C

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

Preview Lab → · Contrast checker → · Palette generator →

#982E9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva