#982E8F#982E8F

#982E8F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.179 H 331.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#982E8F
RGBrgb(152, 46, 143)
HSLhsl(305, 54%, 39%)
HSVhsv(305, 70%, 60%)
CMYKcmyk(0%, 69.7%, 5.9%, 40.4%)
CIE-LABlab(38.92, 55.02, -31.01)
CIE-LCHlch(38.92, 63.16, 330.59°)
OKLaboklab(49.69% 0.1572 -0.0852)
OKLCHoklch(49.69% 0.179 331.5)
XYZxyz(18.8838, 10.6140, 27.0354)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E8F #2E9837
analogous
#6C2E98 #982E8F #982E5A
triadic
#982E8F #8F982E #2E8F98
tetradic
#982E8F #986C2E #2E9837 #2E5A98
square
#982E8F #986C2E #2E9837 #2E5A98
split-complementary
#982E8F #5A982E #2E986C
monochromatic
#3A1237 #692063 #982E8F #C53EB9 #D36DCA

Accessibility & contrast

On white

6.73
#982E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#982E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E8F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E8F#FFFFFF#000000##FFFFFF
##982E8F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#9E395B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982e8f;
/* rgb */ color: rgb(152, 46, 143);
/* oklch */ color: oklch(49.7% 0.179 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba70b0',
    500: '#982e8f',
    950: '#000000',
  },
}
SCSS
$custom: #982e8f;
$custom-light: #ba70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#982e8f",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 305.094,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.17885,
    "h": 331.5
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#982E8F
secondary
#68BA6F
accent
#DD574B
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #982E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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