#982289#982289

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

Color values

HEX#982289
RGBrgb(152, 34, 137)
HSLhsl(308, 63%, 36%)
HSVhsv(308, 78%, 60%)
CMYKcmyk(0%, 77.6%, 9.9%, 40.4%)
CIE-LABlab(37.16, 58.17, -30.10)
CIE-LCHlch(37.16, 65.49, 332.64°)
OKLaboklab(48.33% 0.1688 -0.0825)
OKLCHoklch(48.33% 0.188 334)
XYZxyz(18.0364, 9.6272, 24.5704)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982289 #229831
analogous
#6C2298 #982289 #98224E
triadic
#982289 #899822 #228998
tetradic
#982289 #986C22 #229831 #224E98
square
#982289 #986C22 #229831 #224E98
split-complementary
#982289 #4E9822 #22986C
monochromatic
#340C2F #66175C #982289 #CA2DB6 #DA5ACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982289#FFFFFF#000000##FFFFFF
##9822891.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)
#1F4D8C
Deuteranopia (green-blind)
#4C5D86
Tritanopia (blue-blind)
#9F2E54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982289;
/* rgb */ color: rgb(152, 34, 137);
/* oklch */ color: oklch(48.3% 0.188 334.0);
Tailwind
colors: {
  custom: {
    50: '#ba6bac',
    500: '#982289',
    950: '#000000',
  },
}
SCSS
$custom: #982289;
$custom-light: #ba6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#982289",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 307.627,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.18792,
    "h": 334
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#982289
secondary
#57BE64
accent
#E65641
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982289

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

Preview Lab → · Contrast checker → · Palette generator →

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