#982E95#982E95

#982E95 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.184 H 329.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#982E95
RGBrgb(152, 46, 149)
HSLhsl(302, 54%, 39%)
HSVhsv(302, 70%, 60%)
CMYKcmyk(0%, 69.7%, 2%, 40.4%)
CIE-LABlab(39.24, 56.02, -34.16)
CIE-LCHlch(39.24, 65.62, 328.63°)
OKLaboklab(50.03% 0.1576 -0.0943)
OKLCHoklch(50.03% 0.184 329.1)
XYZxyz(19.3505, 10.8007, 29.4935)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E95 #2E9831
analogous
#662E98 #982E95 #982E60
triadic
#982E95 #95982E #2E9598
tetradic
#982E95 #98662E #2E9831 #2E6098
square
#982E95 #98662E #2E9831 #2E6098
split-complementary
#982E95 #60982E #2E9866
monochromatic
#3A1239 #692067 #982E95 #C53EC1 #D36DD0

Accessibility & contrast

On white

6.65
#982E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#982E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E95
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E95#FFFFFF#000000##FFFFFF
##982E951.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#4B6192
Tritanopia (blue-blind)
#9D3C5E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982e95;
/* rgb */ color: rgb(152, 46, 149);
/* oklch */ color: oklch(50.0% 0.184 329.1);
Tailwind
colors: {
  custom: {
    50: '#ba71b4',
    500: '#982e95',
    950: '#000000',
  },
}
SCSS
$custom: #982e95;
$custom-light: #ba71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#982e95",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 301.698,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50028,
    "c": 0.18365,
    "h": 329.1
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#982E95
secondary
#68BA6A
accent
#DD4F4B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982E95

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

Preview Lab → · Contrast checker → · Palette generator →

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