#982D8E#982D8E

#982D8E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.179 H 332.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#982D8E
RGBrgb(152, 45, 142)
HSLhsl(306, 54%, 39%)
HSVhsv(306, 70%, 60%)
CMYKcmyk(0%, 70.4%, 6.6%, 40.4%)
CIE-LABlab(38.74, 55.23, -30.69)
CIE-LCHlch(38.74, 63.19, 330.94°)
OKLaboklab(49.54% 0.1583 -0.0843)
OKLCHoklch(49.54% 0.179 332)
XYZxyz(18.7698, 10.5067, 26.6254)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D8E #2D9837
analogous
#6C2D98 #982D8E #982D58
triadic
#982D8E #8E982D #2D8E98
tetradic
#982D8E #986C2D #2D9837 #2D5898
square
#982D8E #986C2D #2D9837 #2D5898
split-complementary
#982D8E #58982D #2D986C
monochromatic
#3A1136 #691F62 #982D8E #C53DB9 #D36CCA

Accessibility & contrast

On white

6.77
#982D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#982D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D8E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D8E#FFFFFF#000000##FFFFFF
##982D8E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#4E618B
Tritanopia (blue-blind)
#9E385A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982d8e;
/* rgb */ color: rgb(152, 45, 142);
/* oklch */ color: oklch(49.5% 0.179 332.0);
Tailwind
colors: {
  custom: {
    50: '#ba70af',
    500: '#982d8e',
    950: '#000000',
  },
}
SCSS
$custom: #982d8e;
$custom-light: #ba70af;
$custom-dark: #000000;
JSON
{
  "hex": "#982d8e",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 305.607,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49542,
    "c": 0.17933,
    "h": 332
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#982D8E
secondary
#66BA6E
accent
#DE584A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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