#982E9F#982E9F

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

Color values

HEX#982E9F
RGBrgb(152, 46, 159)
HSLhsl(296, 55%, 40%)
HSVhsv(296, 71%, 62%)
CMYKcmyk(4.4%, 71.1%, 0%, 37.6%)
CIE-LABlab(39.81, 57.76, -39.31)
CIE-LCHlch(39.81, 69.87, 325.76°)
OKLaboklab(50.61% 0.1577 -0.1093)
OKLCHoklch(50.61% 0.192 325.3)
XYZxyz(20.1834, 11.1339, 33.8801)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E9F #359F2E
analogous
#5F2E9F #982E9F #9F2E6E
triadic
#982E9F #9F982E #2E9F98
tetradic
#982E9F #9F5F2E #359F2E #2E6E9F
square
#982E9F #9F5F2E #359F2E #2E6E9F
split-complementary
#982E9F #6E9F2E #2E9F5F
monochromatic
#3D1340 #6B2070 #982E9F #C042C8 #D071D6

Accessibility & contrast

On white

6.51
#982E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#982E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E9F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E9F#FFFFFF#000000##FFFFFF
##982E9F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A2
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#9C4063
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982e9f;
/* rgb */ color: rgb(152, 46, 159);
/* oklch */ color: oklch(50.6% 0.192 325.3);
Tailwind
colors: {
  custom: {
    50: '#ba71bc',
    500: '#982e9f',
    950: '#000000',
  },
}
SCSS
$custom: #982e9f;
$custom-light: #ba71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#982e9f",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 296.283,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.19187,
    "h": 325.3
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#982E9F
secondary
#70BE6B
accent
#DE4953
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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