#982BA3#982BA3

#982BA3 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.6% C 0.199 H 323.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#982BA3
RGBrgb(152, 43, 163)
HSLhsl(295, 58%, 40%)
HSVhsv(295, 74%, 64%)
CMYKcmyk(6.7%, 73.6%, 0%, 36.1%)
CIE-LABlab(39.66, 59.55, -41.94)
CIE-LCHlch(39.66, 72.84, 324.84°)
OKLaboklab(50.59% 0.1606 -0.1169)
OKLCHoklch(50.59% 0.199 323.9)
XYZxyz(20.4231, 11.0488, 35.7001)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BA3 #36A32B
analogous
#5C2BA3 #982BA3 #A32B72
triadic
#982BA3 #A3982B #2BA398
tetradic
#982BA3 #A35C2B #36A32B #2B72A3
square
#982BA3 #A35C2B #36A32B #2B72A3
split-complementary
#982BA3 #72A32B #2BA35C
monochromatic
#3E1142 #6B1E73 #982BA3 #BF3FCC #CF6FD9

Accessibility & contrast

On white

6.54
#982BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#982BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BA3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BA3#FFFFFF#000000##FFFFFF
##982BA31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#9B4065
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982ba3;
/* rgb */ color: rgb(152, 43, 163);
/* oklch */ color: oklch(50.6% 0.199 323.9);
Tailwind
colors: {
  custom: {
    50: '#ba70bf',
    500: '#982ba3',
    950: '#000000',
  },
}
SCSS
$custom: #982ba3;
$custom-light: #ba70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982ba3",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 294.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.19863,
    "h": 323.9
  },
  "luminance": 0.11047
}

Semantic roles & 50–950 ramp

primary
#982BA3
secondary
#72C06A
accent
#E14655
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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