#982E8D#982E8D

#982E8D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 332.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#982E8D
RGBrgb(152, 46, 141)
HSLhsl(306, 54%, 39%)
HSVhsv(306, 70%, 60%)
CMYKcmyk(0%, 69.7%, 7.2%, 40.4%)
CIE-LABlab(38.82, 54.69, -29.95)
CIE-LCHlch(38.82, 62.36, 331.29°)
OKLaboklab(49.58% 0.1571 -0.0822)
OKLCHoklch(49.58% 0.177 332.4)
XYZxyz(18.7336, 10.5540, 26.2446)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E8D #2E9839
analogous
#6E2E98 #982E8D #982E58
triadic
#982E8D #8D982E #2E8D98
tetradic
#982E8D #986E2E #2E9839 #2E5898
square
#982E8D #986E2E #2E9839 #2E5898
split-complementary
#982E8D #58982E #2E986E
monochromatic
#3A1236 #692061 #982E8D #C53EB7 #D36DC8

Accessibility & contrast

On white

6.75
#982E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#982E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E8D
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E8D#FFFFFF#000000##FFFFFF
##982E8D1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#9F385A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982e8d;
/* rgb */ color: rgb(152, 46, 141);
/* oklch */ color: oklch(49.6% 0.177 332.4);
Tailwind
colors: {
  custom: {
    50: '#ba70ae',
    500: '#982e8d',
    950: '#000000',
  },
}
SCSS
$custom: #982e8d;
$custom-light: #ba70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#982e8d",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 306.226,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.17729,
    "h": 332.4
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#982E8D
secondary
#68BA70
accent
#DD5A4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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