#982486#982486

#982486 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.184 H 335.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#982486
RGBrgb(152, 36, 134)
HSLhsl(309, 62%, 37%)
HSVhsv(309, 76%, 60%)
CMYKcmyk(0%, 76.3%, 11.8%, 40.4%)
CIE-LABlab(37.23, 57.09, -28.15)
CIE-LCHlch(37.23, 63.65, 333.75°)
OKLaboklab(48.32% 0.1668 -0.0769)
OKLCHoklch(48.32% 0.184 335.2)
XYZxyz(17.8831, 9.6600, 23.4724)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982486 #249836
analogous
#702498 #982486 #98244C
triadic
#982486 #869824 #248698
tetradic
#982486 #987024 #249836 #244C98
square
#982486 #987024 #249836 #244C98
split-complementary
#982486 #4C9824 #249870
monochromatic
#350D2F #67185A #982486 #C930B2 #D95EC6

Accessibility & contrast

On white

7.16
#982486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#982486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982486
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982486#FFFFFF#000000##FFFFFF
##9824861.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#4E5E83
Tritanopia (blue-blind)
#A02E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982486;
/* rgb */ color: rgb(152, 36, 134);
/* oklch */ color: oklch(48.3% 0.184 335.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ca9',
    500: '#982486',
    950: '#000000',
  },
}
SCSS
$custom: #982486;
$custom-light: #ba6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#982486",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 309.31,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.18369,
    "h": 335.2
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#982486
secondary
#5ABE6A
accent
#E55C43
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982486

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

Preview Lab → · Contrast checker → · Palette generator →

#982486 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva