#982A8E#982A8E

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

Color values

HEX#982A8E
RGBrgb(152, 42, 142)
HSLhsl(305, 57%, 38%)
HSVhsv(305, 72%, 60%)
CMYKcmyk(0%, 72.4%, 6.6%, 40.4%)
CIE-LABlab(38.35, 56.33, -31.30)
CIE-LCHlch(38.35, 64.44, 330.94°)
OKLaboklab(49.26% 0.1614 -0.086)
OKLCHoklch(49.26% 0.183 331.9)
XYZxyz(18.6594, 10.2858, 26.5885)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A8E #2A9834
analogous
#6B2A98 #982A8E #982A57
triadic
#982A8E #8E982A #2A8E98
tetradic
#982A8E #986B2A #2A9834 #2A5798
square
#982A8E #986B2A #2A9834 #2A5798
split-complementary
#982A8E #57982A #2A986B
monochromatic
#381034 #681D61 #982A8E #C837BB #D567CB

Accessibility & contrast

On white

6.87
#982A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982A8E
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A8E#FFFFFF#000000##FFFFFF
##982A8E1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982a8e;
/* rgb */ color: rgb(152, 42, 142);
/* oklch */ color: oklch(49.3% 0.183 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6eaf',
    500: '#982a8e',
    950: '#000000',
  },
}
SCSS
$custom: #982a8e;
$custom-light: #ba6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#982a8e",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 305.455,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.18294,
    "h": 331.9
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#982A8E
secondary
#62BB6A
accent
#E05648
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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