#982E8E#982E8E

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

Color values

HEX#982E8E
RGBrgb(152, 46, 142)
HSLhsl(306, 54%, 39%)
HSVhsv(306, 70%, 60%)
CMYKcmyk(0%, 69.7%, 6.6%, 40.4%)
CIE-LABlab(38.87, 54.86, -30.48)
CIE-LCHlch(38.87, 62.76, 330.94°)
OKLaboklab(49.64% 0.1572 -0.0837)
OKLCHoklch(49.64% 0.178 332)
XYZxyz(18.8084, 10.5839, 26.6382)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E8E #2E9838
analogous
#6D2E98 #982E8E #982E59
triadic
#982E8E #8E982E #2E8E98
tetradic
#982E8E #986D2E #2E9838 #2E5998
square
#982E8E #986D2E #2E9838 #2E5998
split-complementary
#982E8E #59982E #2E986D
monochromatic
#3A1236 #692062 #982E8E #C53EB8 #D36DC9

Accessibility & contrast

On white

6.74
#982E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#982E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E8E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E8E#FFFFFF#000000##FFFFFF
##982E8E1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#9E395A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982e8e;
/* rgb */ color: rgb(152, 46, 142);
/* oklch */ color: oklch(49.6% 0.178 332.0);
Tailwind
colors: {
  custom: {
    50: '#ba70af',
    500: '#982e8e',
    950: '#000000',
  },
}
SCSS
$custom: #982e8e;
$custom-light: #ba70af;
$custom-dark: #000000;
JSON
{
  "hex": "#982e8e",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 305.66,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.17807,
    "h": 332
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#982E8E
secondary
#68BA6F
accent
#DD594B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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