#982F8F#982F8F

#982F8F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.178 H 331.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#982F8F
RGBrgb(152, 47, 143)
HSLhsl(305, 53%, 39%)
HSVhsv(305, 69%, 60%)
CMYKcmyk(0%, 69.1%, 5.9%, 40.4%)
CIE-LABlab(39.06, 54.64, -30.80)
CIE-LCHlch(39.06, 62.72, 330.59°)
OKLaboklab(49.79% 0.1561 -0.0846)
OKLCHoklch(49.79% 0.178 331.5)
XYZxyz(18.9233, 10.6931, 27.0486)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F8F #2F9838
analogous
#6D2F98 #982F8F #982F5B
triadic
#982F8F #8F982F #2F8F98
tetradic
#982F8F #986D2F #2F9838 #2F5B98
square
#982F8F #986D2F #2F9838 #2F5B98
split-complementary
#982F8F #5B982F #2F986D
monochromatic
#3B1237 #692163 #982F8F #C440B9 #D26FCA

Accessibility & contrast

On white

6.69
#982F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#982F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F8F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F8F#FFFFFF#000000##FFFFFF
##982F8F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#9E3A5B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982f8f;
/* rgb */ color: rgb(152, 47, 143);
/* oklch */ color: oklch(49.8% 0.178 331.5);
Tailwind
colors: {
  custom: {
    50: '#b971b0',
    500: '#982f8f',
    950: '#000000',
  },
}
SCSS
$custom: #982f8f;
$custom-light: #b971b0;
$custom-dark: #000000;
JSON
{
  "hex": "#982f8f",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 305.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.1776,
    "h": 331.5
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#982F8F
secondary
#69BA70
accent
#DC584C
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #982F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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