#982BA4#982BA4

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

Color values

HEX#982BA4
RGBrgb(152, 43, 164)
HSLhsl(294, 58%, 41%)
HSVhsv(294, 74%, 64%)
CMYKcmyk(7.3%, 73.8%, 0%, 35.7%)
CIE-LABlab(39.72, 59.73, -42.45)
CIE-LCHlch(39.72, 73.28, 324.60°)
OKLaboklab(50.65% 0.1605 -0.1184)
OKLCHoklch(50.65% 0.199 323.6)
XYZxyz(20.5130, 11.0847, 36.1739)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BA4 #37A42B
analogous
#5C2BA4 #982BA4 #A42B73
triadic
#982BA4 #A4982B #2BA498
tetradic
#982BA4 #A45C2B #37A42B #2B73A4
square
#982BA4 #A45C2B #37A42B #2B73A4
split-complementary
#982BA4 #73A42B #2BA45C
monochromatic
#3E1243 #6B1E74 #982BA4 #BF3FCD #CF70D9

Accessibility & contrast

On white

6.53
#982BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#982BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BA4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BA4#FFFFFF#000000##FFFFFF
##982BA41.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#9B4165
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ba4;
/* rgb */ color: rgb(152, 43, 164);
/* oklch */ color: oklch(50.6% 0.199 323.6);
Tailwind
colors: {
  custom: {
    50: '#ba70bf',
    500: '#982ba4',
    950: '#000000',
  },
}
SCSS
$custom: #982ba4;
$custom-light: #ba70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982ba4",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 294.05,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.19946,
    "h": 323.6
  },
  "luminance": 0.11083
}

Semantic roles & 50–950 ramp

primary
#982BA4
secondary
#73C16A
accent
#E24656
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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