#982D8F#982D8F

#982D8F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.180 H 331.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#982D8F
RGBrgb(152, 45, 143)
HSLhsl(305, 54%, 39%)
HSVhsv(305, 70%, 60%)
CMYKcmyk(0%, 70.4%, 5.9%, 40.4%)
CIE-LABlab(38.79, 55.40, -31.22)
CIE-LCHlch(38.79, 63.59, 330.59°)
OKLaboklab(49.6% 0.1583 -0.0858)
OKLCHoklch(49.6% 0.18 331.5)
XYZxyz(18.8452, 10.5368, 27.0225)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D8F #2D9836
analogous
#6B2D98 #982D8F #982D59
triadic
#982D8F #8F982D #2D8F98
tetradic
#982D8F #986B2D #2D9836 #2D5998
square
#982D8F #986B2D #2D9836 #2D5998
split-complementary
#982D8F #59982D #2D986B
monochromatic
#3A1136 #691F63 #982D8F #C53DBA #D36CCB

Accessibility & contrast

On white

6.76
#982D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982D8F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D8F#FFFFFF#000000##FFFFFF
##982D8F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#9E395A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982d8f;
/* rgb */ color: rgb(152, 45, 143);
/* oklch */ color: oklch(49.6% 0.180 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba70b0',
    500: '#982d8f',
    950: '#000000',
  },
}
SCSS
$custom: #982d8f;
$custom-light: #ba70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#982d8f",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 305.047,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49597,
    "c": 0.1801,
    "h": 331.5
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#982D8F
secondary
#66BA6D
accent
#DE574A
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #982D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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