#982488#982488

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

Color values

HEX#982488
RGBrgb(152, 36, 136)
HSLhsl(308, 62%, 37%)
HSVhsv(308, 76%, 60%)
CMYKcmyk(0%, 76.3%, 10.5%, 40.4%)
CIE-LABlab(37.33, 57.40, -29.23)
CIE-LCHlch(37.33, 64.41, 333.01°)
OKLaboklab(48.43% 0.167 -0.08)
OKLCHoklch(48.43% 0.185 334.4)
XYZxyz(18.0239, 9.7163, 24.2140)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982488 #249834
analogous
#6E2498 #982488 #98244E
triadic
#982488 #889824 #248898
tetradic
#982488 #986E24 #249834 #244E98
square
#982488 #986E24 #249834 #244E98
split-complementary
#982488 #4E9824 #24986E
monochromatic
#350D2F #67185C #982488 #C930B4 #D95EC8

Accessibility & contrast

On white

7.14
#982488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982488
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982488#FFFFFF#000000##FFFFFF
##9824881.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8B
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#9F2F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982488;
/* rgb */ color: rgb(152, 36, 136);
/* oklch */ color: oklch(48.4% 0.185 334.4);
Tailwind
colors: {
  custom: {
    50: '#ba6cab',
    500: '#982488',
    950: '#000000',
  },
}
SCSS
$custom: #982488;
$custom-light: #ba6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#982488",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 308.276,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48426,
    "c": 0.18514,
    "h": 334.4
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#982488
secondary
#5ABE68
accent
#E55943
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982488

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

Preview Lab → · Contrast checker → · Palette generator →

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