#982198#982198

#982198 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.200 H 328.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#982198
RGBrgb(152, 33, 152)
HSLhsl(300, 64%, 36%)
HSVhsv(300, 78%, 60%)
CMYKcmyk(0%, 78.3%, 0%, 40.4%)
CIE-LABlab(37.90, 60.85, -38.11)
CIE-LCHlch(37.90, 71.80, 327.94°)
OKLaboklab(49.12% 0.1699 -0.1057)
OKLCHoklch(49.12% 0.2 328.1)
XYZxyz(19.1600, 10.0315, 30.6268)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982198 #219821
analogous
#5D2198 #982198 #98215D
triadic
#982198 #989821 #219898
tetradic
#982198 #985D21 #219821 #215D98
square
#982198 #985D21 #219821 #215D98
split-complementary
#982198 #5D9821 #21985D
monochromatic
#330B33 #661666 #982198 #CA2CCA #DB59DB

Accessibility & contrast

On white

6.99
#982198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982198
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982198#FFFFFF#000000##FFFFFF
##9821981.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#9D355C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982198;
/* rgb */ color: rgb(152, 33, 152);
/* oklch */ color: oklch(49.1% 0.200 328.1);
Tailwind
colors: {
  custom: {
    50: '#ba6bb7',
    500: '#982198',
    950: '#000000',
  },
}
SCSS
$custom: #982198;
$custom-light: #ba6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982198",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.20007,
    "h": 328.1
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#982198
secondary
#56BF56
accent
#E74040
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982198

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

Preview Lab → · Contrast checker → · Palette generator →

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