#982BA2#982BA2

#982BA2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.198 H 324.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#982BA2
RGBrgb(152, 43, 162)
HSLhsl(295, 58%, 40%)
HSVhsv(295, 73%, 64%)
CMYKcmyk(6.2%, 73.5%, 0%, 36.5%)
CIE-LABlab(39.60, 59.37, -41.44)
CIE-LCHlch(39.60, 72.40, 325.09°)
OKLaboklab(50.53% 0.1606 -0.1155)
OKLCHoklch(50.53% 0.198 324.3)
XYZxyz(20.3338, 11.0131, 35.2301)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BA2 #35A22B
analogous
#5C2BA2 #982BA2 #A22B70
triadic
#982BA2 #A2982B #2BA298
tetradic
#982BA2 #A25C2B #35A22B #2B70A2
square
#982BA2 #A25C2B #35A22B #2B70A2
split-complementary
#982BA2 #70A22B #2BA25C
monochromatic
#3D1141 #6B1E72 #982BA2 #C03ECC #D06FD9

Accessibility & contrast

On white

6.56
#982BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#982BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BA2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BA2#FFFFFF#000000##FFFFFF
##982BA21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#42629F
Tritanopia (blue-blind)
#9B4064
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982ba2;
/* rgb */ color: rgb(152, 43, 162);
/* oklch */ color: oklch(50.5% 0.198 324.3);
Tailwind
colors: {
  custom: {
    50: '#ba70be',
    500: '#982ba2',
    950: '#000000',
  },
}
SCSS
$custom: #982ba2;
$custom-light: #ba70be;
$custom-dark: #000000;
JSON
{
  "hex": "#982ba2",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 294.958,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.1978,
    "h": 324.3
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#982BA2
secondary
#70C069
accent
#E14754
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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