#982A88#982A88

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

Color values

HEX#982A88
RGBrgb(152, 42, 136)
HSLhsl(309, 57%, 38%)
HSVhsv(309, 72%, 60%)
CMYKcmyk(0%, 72.4%, 10.5%, 40.4%)
CIE-LABlab(38.04, 55.37, -28.11)
CIE-LCHlch(38.04, 62.10, 333.09°)
OKLaboklab(48.94% 0.161 -0.0768)
OKLCHoklch(48.94% 0.178 334.5)
XYZxyz(18.2210, 10.1105, 24.2796)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A88 #2A983A
analogous
#712A98 #982A88 #982A51
triadic
#982A88 #88982A #2A8898
tetradic
#982A88 #98712A #2A983A #2A5198
square
#982A88 #98712A #2A983A #2A5198
split-complementary
#982A88 #51982A #2A9871
monochromatic
#381032 #681D5D #982A88 #C837B3 #D567C5

Accessibility & contrast

On white

6.95
#982A88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982A88
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A88#FFFFFF#000000##FFFFFF
##982A881.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8B
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#9F3356
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982a88;
/* rgb */ color: rgb(152, 42, 136);
/* oklch */ color: oklch(48.9% 0.178 334.5);
Tailwind
colors: {
  custom: {
    50: '#ba6eab',
    500: '#982a88',
    950: '#000000',
  },
}
SCSS
$custom: #982a88;
$custom-light: #ba6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#982a88",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 308.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48939,
    "c": 0.17839,
    "h": 334.5
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#982A88
secondary
#62BB6F
accent
#E05E48
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982A88

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

Preview Lab → · Contrast checker → · Palette generator →

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