#982F98#982F98

#982F98 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.185 H 327.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#982F98
RGBrgb(152, 47, 152)
HSLhsl(300, 53%, 39%)
HSVhsv(300, 69%, 60%)
CMYKcmyk(0%, 69.1%, 0%, 40.4%)
CIE-LABlab(39.54, 56.16, -35.51)
CIE-LCHlch(39.54, 66.44, 327.70°)
OKLaboklab(50.3% 0.1566 -0.0982)
OKLCHoklch(50.3% 0.185 327.9)
XYZxyz(19.6326, 10.9768, 30.7844)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F98 #2F982F
analogous
#642F98 #982F98 #982F64
triadic
#982F98 #98982F #2F9898
tetradic
#982F98 #98642F #2F982F #2F6498
square
#982F98 #98642F #2F982F #2F6498
split-complementary
#982F98 #64982F #2F9864
monochromatic
#3B123B #692169 #982F98 #C440C4 #D26FD2

Accessibility & contrast

On white

6.57
#982F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#982F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F98
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F98#FFFFFF#000000##FFFFFF
##982F981.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549B
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#9D3E60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982f98;
/* rgb */ color: rgb(152, 47, 152);
/* oklch */ color: oklch(50.3% 0.185 327.9);
Tailwind
colors: {
  custom: {
    50: '#ba71b7',
    500: '#982f98',
    950: '#000000',
  },
}
SCSS
$custom: #982f98;
$custom-light: #ba71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#982f98",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50296,
    "c": 0.18486,
    "h": 327.9
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#982F98
secondary
#69BA69
accent
#DC4C4C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982F98

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

Preview Lab → · Contrast checker → · Palette generator →

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