#982A8F#982A8F

#982A8F is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.184 H 331.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#982A8F
RGBrgb(152, 42, 143)
HSLhsl(305, 57%, 38%)
HSVhsv(305, 72%, 60%)
CMYKcmyk(0%, 72.4%, 5.9%, 40.4%)
CIE-LABlab(38.40, 56.49, -31.83)
CIE-LCHlch(38.40, 64.84, 330.60°)
OKLaboklab(49.32% 0.1615 -0.0876)
OKLCHoklch(49.32% 0.184 331.5)
XYZxyz(18.7348, 10.3160, 26.9857)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A8F #2A9833
analogous
#6A2A98 #982A8F #982A58
triadic
#982A8F #8F982A #2A8F98
tetradic
#982A8F #986A2A #2A9833 #2A5898
square
#982A8F #986A2A #2A9833 #2A5898
split-complementary
#982A8F #58982A #2A986A
monochromatic
#381035 #681D62 #982A8F #C837BC #D567CC

Accessibility & contrast

On white

6.86
#982A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#982A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982A8F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A8F#FFFFFF#000000##FFFFFF
##982A8F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#9E3659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982a8f;
/* rgb */ color: rgb(152, 42, 143);
/* oklch */ color: oklch(49.3% 0.184 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba6fb0',
    500: '#982a8f',
    950: '#000000',
  },
}
SCSS
$custom: #982a8f;
$custom-light: #ba6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#982a8f",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 304.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.1837,
    "h": 331.5
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#982A8F
secondary
#62BB6A
accent
#E05448
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #982A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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