#982397#982397

#982397 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.197 H 328.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#982397
RGBrgb(152, 35, 151)
HSLhsl(301, 63%, 37%)
HSVhsv(301, 77%, 60%)
CMYKcmyk(0%, 77%, 0.7%, 40.4%)
CIE-LABlab(38.05, 60.09, -37.27)
CIE-LCHlch(38.05, 70.72, 328.19°)
OKLaboklab(49.21% 0.1682 -0.1033)
OKLCHoklch(49.21% 0.197 328.5)
XYZxyz(19.1356, 10.1133, 30.2164)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982397 #239824
analogous
#5F2398 #982397 #98235D
triadic
#982397 #979823 #239798
tetradic
#982397 #985F23 #239824 #235D98
square
#982397 #985F23 #239824 #235D98
split-complementary
#982397 #5D9823 #23985F
monochromatic
#350C34 #661866 #982397 #CA2EC8 #D95CD8

Accessibility & contrast

On white

6.95
#982397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#982397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982397
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982397#FFFFFF#000000##FFFFFF
##9823971.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982397;
/* rgb */ color: rgb(152, 35, 151);
/* oklch */ color: oklch(49.2% 0.197 328.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cb6',
    500: '#982397',
    950: '#000000',
  },
}
SCSS
$custom: #982397;
$custom-light: #ba6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#982397",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 300.513,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49206,
    "c": 0.19739,
    "h": 328.5
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#982397
secondary
#59BE5A
accent
#E64442
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982397

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

Preview Lab → · Contrast checker → · Palette generator →

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