#982497#982497

#982497 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.196 H 328.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#982497
RGBrgb(152, 36, 151)
HSLhsl(301, 62%, 37%)
HSVhsv(301, 76%, 60%)
CMYKcmyk(0%, 76.3%, 0.7%, 40.4%)
CIE-LABlab(38.15, 59.79, -37.10)
CIE-LCHlch(38.15, 70.37, 328.18°)
OKLaboklab(49.28% 0.1674 -0.1028)
OKLCHoklch(49.28% 0.196 328.4)
XYZxyz(19.1655, 10.1729, 30.2263)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982497 #249825
analogous
#5F2498 #982497 #98245D
triadic
#982497 #979824 #249798
tetradic
#982497 #985F24 #249825 #245D98
square
#982497 #985F24 #249825 #245D98
split-complementary
#982497 #5D9824 #24985F
monochromatic
#350D35 #671866 #982497 #C930C8 #D95ED8

Accessibility & contrast

On white

6.92
#982497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#982497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982497
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982497#FFFFFF#000000##FFFFFF
##9824971.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A509A
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#9D365C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982497;
/* rgb */ color: rgb(152, 36, 151);
/* oklch */ color: oklch(49.3% 0.196 328.4);
Tailwind
colors: {
  custom: {
    50: '#ba6cb6',
    500: '#982497',
    950: '#000000',
  },
}
SCSS
$custom: #982497;
$custom-light: #ba6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#982497",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 300.517,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.1964,
    "h": 328.4
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#982497
secondary
#5ABE5B
accent
#E54443
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982497

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

Preview Lab → · Contrast checker → · Palette generator →

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