#982687#982687

#982687 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.182 H 334.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#982687
RGBrgb(152, 38, 135)
HSLhsl(309, 60%, 37%)
HSVhsv(309, 75%, 60%)
CMYKcmyk(0%, 75%, 11.2%, 40.4%)
CIE-LABlab(37.50, 56.59, -28.33)
CIE-LCHlch(37.50, 63.29, 333.41°)
OKLaboklab(48.54% 0.165 -0.0775)
OKLCHoklch(48.54% 0.182 334.8)
XYZxyz(18.0154, 9.8125, 23.8622)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982687 #269837
analogous
#702698 #982687 #98264E
triadic
#982687 #879826 #268798
tetradic
#982687 #987026 #269837 #264E98
square
#982687 #987026 #269837 #264E98
split-complementary
#982687 #4E9826 #269870
monochromatic
#360E30 #671A5C #982687 #C932B2 #D761C6

Accessibility & contrast

On white

7.09
#982687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#982687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982687
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982687#FFFFFF#000000##FFFFFF
##9826871.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#A03054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982687;
/* rgb */ color: rgb(152, 38, 135);
/* oklch */ color: oklch(48.5% 0.182 334.8);
Tailwind
colors: {
  custom: {
    50: '#ba6daa',
    500: '#982687',
    950: '#000000',
  },
}
SCSS
$custom: #982687;
$custom-light: #ba6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#982687",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 308.947,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.18225,
    "h": 334.8
  },
  "luminance": 0.09811
}

Semantic roles & 50–950 ramp

primary
#982687
secondary
#5DBD6B
accent
#E35C45
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982687

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

Preview Lab → · Contrast checker → · Palette generator →

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