#982387#982387

#982387 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.185 H 334.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#982387
RGBrgb(152, 35, 135)
HSLhsl(309, 63%, 37%)
HSVhsv(309, 77%, 60%)
CMYKcmyk(0%, 77%, 11.2%, 40.4%)
CIE-LABlab(37.17, 57.56, -28.86)
CIE-LCHlch(37.17, 64.39, 333.37°)
OKLaboklab(48.29% 0.1678 -0.079)
OKLCHoklch(48.29% 0.185 334.8)
XYZxyz(17.9233, 9.6283, 23.8315)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982387 #239834
analogous
#6F2398 #982387 #98234D
triadic
#982387 #879823 #238798
tetradic
#982387 #986F23 #239834 #234D98
square
#982387 #986F23 #239834 #234D98
split-complementary
#982387 #4D9823 #23986F
monochromatic
#350C2F #66185B #982387 #CA2EB3 #D95CC7

Accessibility & contrast

On white

7.18
#982387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982387
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982387#FFFFFF#000000##FFFFFF
##9823871.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C8A
Deuteranopia (green-blind)
#4D5E84
Tritanopia (blue-blind)
#A02E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982387;
/* rgb */ color: rgb(152, 35, 135);
/* oklch */ color: oklch(48.3% 0.185 334.8);
Tailwind
colors: {
  custom: {
    50: '#ba6baa',
    500: '#982387',
    950: '#000000',
  },
}
SCSS
$custom: #982387;
$custom-light: #ba6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#982387",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 308.718,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48293,
    "c": 0.18546,
    "h": 334.8
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#982387
secondary
#59BE67
accent
#E65A42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982387

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

Preview Lab → · Contrast checker → · Palette generator →

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