#982C8E#982C8E

#982C8E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.181 H 332.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#982C8E
RGBrgb(152, 44, 142)
HSLhsl(306, 55%, 38%)
HSVhsv(306, 71%, 60%)
CMYKcmyk(0%, 71.1%, 6.6%, 40.4%)
CIE-LABlab(38.61, 55.60, -30.90)
CIE-LCHlch(38.61, 63.61, 330.94°)
OKLaboklab(49.45% 0.1593 -0.0849)
OKLCHoklch(49.45% 0.181 332)
XYZxyz(18.7321, 10.4313, 26.6128)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C8E #2C9836
analogous
#6C2C98 #982C8E #982C58
triadic
#982C8E #8E982C #2C8E98
tetradic
#982C8E #986C2C #2C9836 #2C5898
square
#982C8E #986C2C #2C9836 #2C5898
split-complementary
#982C8E #58982C #2C986C
monochromatic
#391135 #691E62 #982C8E #C63BB9 #D46ACA

Accessibility & contrast

On white

6.80
#982C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#982C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C8E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C8E#FFFFFF#000000##FFFFFF
##982C8E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#9E375A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982c8e;
/* rgb */ color: rgb(152, 44, 142);
/* oklch */ color: oklch(49.4% 0.181 332.0);
Tailwind
colors: {
  custom: {
    50: '#ba6faf',
    500: '#982c8e',
    950: '#000000',
  },
}
SCSS
$custom: #982c8e;
$custom-light: #ba6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#982c8e",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 305.556,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.18055,
    "h": 332
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#982C8E
secondary
#65BB6D
accent
#DE5749
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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