#982297#982297

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

Color values

HEX#982297
RGBrgb(152, 34, 151)
HSLhsl(301, 63%, 36%)
HSVhsv(301, 78%, 60%)
CMYKcmyk(0%, 77.6%, 0.7%, 40.4%)
CIE-LABlab(37.94, 60.39, -37.44)
CIE-LCHlch(37.94, 71.06, 328.21°)
OKLaboklab(49.13% 0.1691 -0.1037)
OKLCHoklch(49.13% 0.198 328.5)
XYZxyz(19.1066, 10.0553, 30.2067)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982297 #229823
analogous
#5E2298 #982297 #98225C
triadic
#982297 #979822 #229798
tetradic
#982297 #985E22 #229823 #225C98
square
#982297 #985E22 #229823 #225C98
split-complementary
#982297 #5C9822 #22985E
monochromatic
#340C34 #661765 #982297 #CA2DC9 #DA5AD9

Accessibility & contrast

On white

6.97
#982297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#982297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982297
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982297#FFFFFF#000000##FFFFFF
##9822971.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04509A
Deuteranopia (green-blind)
#445F94
Tritanopia (blue-blind)
#9D355C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982297;
/* rgb */ color: rgb(152, 34, 151);
/* oklch */ color: oklch(49.1% 0.198 328.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cb6',
    500: '#982297',
    950: '#000000',
  },
}
SCSS
$custom: #982297;
$custom-light: #ba6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#982297",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 300.508,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.19836,
    "h": 328.5
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#982297
secondary
#57BE58
accent
#E64341
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982297

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

Preview Lab → · Contrast checker → · Palette generator →

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