#982586#982586

#982586 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.183 H 335.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#982586
RGBrgb(152, 37, 134)
HSLhsl(309, 61%, 37%)
HSVhsv(309, 76%, 60%)
CMYKcmyk(0%, 75.7%, 11.8%, 40.4%)
CIE-LABlab(37.34, 56.77, -27.98)
CIE-LCHlch(37.34, 63.29, 333.76°)
OKLaboklab(48.4% 0.1659 -0.0764)
OKLCHoklch(48.4% 0.183 335.3)
XYZxyz(17.9138, 9.7214, 23.4826)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982586 #259837
analogous
#712598 #982586 #98254D
triadic
#982586 #869825 #258698
tetradic
#982586 #987125 #259837 #254D98
square
#982586 #987125 #259837 #254D98
split-complementary
#982586 #4D9825 #259871
monochromatic
#360D2F #67195B #982586 #C931B1 #D85FC5

Accessibility & contrast

On white

7.13
#982586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#982586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982586
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982586#FFFFFF#000000##FFFFFF
##9825861.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982586;
/* rgb */ color: rgb(152, 37, 134);
/* oklch */ color: oklch(48.4% 0.183 335.3);
Tailwind
colors: {
  custom: {
    50: '#ba6ca9',
    500: '#982586',
    950: '#000000',
  },
}
SCSS
$custom: #982586;
$custom-light: #ba6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#982586",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 309.391,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.18263,
    "h": 335.3
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#982586
secondary
#5CBD6B
accent
#E45D44
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982586

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

Preview Lab → · Contrast checker → · Palette generator →

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