#982BA8#982BA8

#982BA8 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.203 H 322.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#982BA8
RGBrgb(152, 43, 168)
HSLhsl(292, 59%, 41%)
HSVhsv(292, 74%, 66%)
CMYKcmyk(9.5%, 74.4%, 0%, 34.1%)
CIE-LABlab(39.97, 60.45, -44.45)
CIE-LCHlch(39.97, 75.03, 323.68°)
OKLaboklab(50.9% 0.1603 -0.1242)
OKLCHoklch(50.9% 0.203 322.2)
XYZxyz(20.8799, 11.2315, 38.1063)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BA8 #3BA82B
analogous
#5A2BA8 #982BA8 #A82B7A
triadic
#982BA8 #A8982B #2BA898
tetradic
#982BA8 #A85A2B #3BA82B #2B7AA8
square
#982BA8 #A85A2B #3BA82B #2B7AA8
split-complementary
#982BA8 #7AA82B #2BA85A
monochromatic
#401247 #6C1F77 #982BA8 #BD42CF #CE72DB

Accessibility & contrast

On white

6.47
#982BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#982BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BA8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BA8#FFFFFF#000000##FFFFFF
##982BA81.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3D62A5
Tritanopia (blue-blind)
#9A4368
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ba8;
/* rgb */ color: rgb(152, 43, 168);
/* oklch */ color: oklch(50.9% 0.203 322.2);
Tailwind
colors: {
  custom: {
    50: '#ba70c2',
    500: '#982ba8',
    950: '#000000',
  },
}
SCSS
$custom: #982ba8;
$custom-light: #ba70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#982ba8",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 292.32,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.20279,
    "h": 322.2
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#982BA8
secondary
#77C26C
accent
#E24559
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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