#982498#982498

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

Color values

HEX#982498
RGBrgb(152, 36, 152)
HSLhsl(300, 62%, 37%)
HSVhsv(300, 76%, 60%)
CMYKcmyk(0%, 76.3%, 0%, 40.4%)
CIE-LABlab(38.21, 59.96, -37.62)
CIE-LCHlch(38.21, 70.78, 327.89°)
OKLaboklab(49.34% 0.1673 -0.1043)
OKLCHoklch(49.34% 0.197 328.1)
XYZxyz(19.2470, 10.2056, 30.6558)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982498 #249824
analogous
#5E2498 #982498 #98245E
triadic
#982498 #989824 #249898
tetradic
#982498 #985E24 #249824 #245E98
square
#982498 #985E24 #249824 #245E98
split-complementary
#982498 #5E9824 #24985E
monochromatic
#350D35 #671867 #982498 #C930C9 #D95ED9

Accessibility & contrast

On white

6.91
#982498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#982498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982498
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982498#FFFFFF#000000##FFFFFF
##9824981.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#9D375D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982498;
/* rgb */ color: rgb(152, 36, 152);
/* oklch */ color: oklch(49.3% 0.197 328.1);
Tailwind
colors: {
  custom: {
    50: '#ba6cb7',
    500: '#982498',
    950: '#000000',
  },
}
SCSS
$custom: #982498;
$custom-light: #ba6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982498",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.19717,
    "h": 328.1
  },
  "luminance": 0.10204
}

Semantic roles & 50–950 ramp

primary
#982498
secondary
#5ABE5A
accent
#E54343
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982498

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

Preview Lab → · Contrast checker → · Palette generator →

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