#982298#982298

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

Color values

HEX#982298
RGBrgb(152, 34, 152)
HSLhsl(300, 63%, 36%)
HSVhsv(300, 78%, 60%)
CMYKcmyk(0%, 77.6%, 0%, 40.4%)
CIE-LABlab(38.00, 60.56, -37.95)
CIE-LCHlch(38.00, 71.47, 327.92°)
OKLaboklab(49.19% 0.169 -0.1052)
OKLCHoklch(49.19% 0.199 328.1)
XYZxyz(19.1882, 10.0879, 30.6362)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982298 #229822
analogous
#5D2298 #982298 #98225D
triadic
#982298 #989822 #229898
tetradic
#982298 #985D22 #229822 #225D98
square
#982298 #985D22 #229822 #225D98
split-complementary
#982298 #5D9822 #22985D
monochromatic
#340C34 #661766 #982298 #CA2DCA #DA5ADA

Accessibility & contrast

On white

6.96
#982298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982298
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982298#FFFFFF#000000##FFFFFF
##9822981.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509B
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#9D365C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982298;
/* rgb */ color: rgb(152, 34, 152);
/* oklch */ color: oklch(49.2% 0.199 328.1);
Tailwind
colors: {
  custom: {
    50: '#ba6cb7',
    500: '#982298',
    950: '#000000',
  },
}
SCSS
$custom: #982298;
$custom-light: #ba6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982298",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.19912,
    "h": 328.1
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#982298
secondary
#57BE57
accent
#E64141
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982298

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

Preview Lab → · Contrast checker → · Palette generator →

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