#982A87#982A87

#982A87 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.178 H 334.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#982A87
RGBrgb(152, 42, 135)
HSLhsl(309, 57%, 38%)
HSVhsv(309, 72%, 60%)
CMYKcmyk(0%, 72.4%, 11.2%, 40.4%)
CIE-LABlab(37.99, 55.21, -27.57)
CIE-LCHlch(37.99, 61.72, 333.46°)
OKLaboklab(48.89% 0.1609 -0.0753)
OKLCHoklch(48.89% 0.178 334.9)
XYZxyz(18.1502, 10.0822, 23.9071)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A87 #2A983B
analogous
#722A98 #982A87 #982A50
triadic
#982A87 #87982A #2A8798
tetradic
#982A87 #98722A #2A983B #2A5098
square
#982A87 #98722A #2A983B #2A5098
split-complementary
#982A87 #50982A #2A9872
monochromatic
#381032 #681D5C #982A87 #C837B2 #D567C4

Accessibility & contrast

On white

6.96
#982A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#982A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982A87
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A87#FFFFFF#000000##FFFFFF
##982A871.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A03355
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982a87;
/* rgb */ color: rgb(152, 42, 135);
/* oklch */ color: oklch(48.9% 0.178 334.9);
Tailwind
colors: {
  custom: {
    50: '#ba6eaa',
    500: '#982a87',
    950: '#000000',
  },
}
SCSS
$custom: #982a87;
$custom-light: #ba6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#982a87",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 309.273,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.17765,
    "h": 334.9
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#982A87
secondary
#62BB70
accent
#E05F48
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982A87

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

Preview Lab → · Contrast checker → · Palette generator →

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