#982098#982098

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

Color values

HEX#982098
RGBrgb(152, 32, 152)
HSLhsl(300, 65%, 36%)
HSVhsv(300, 79%, 60%)
CMYKcmyk(0%, 78.9%, 0%, 40.4%)
CIE-LABlab(37.80, 61.13, -38.27)
CIE-LCHlch(37.80, 72.12, 327.95°)
OKLaboklab(49.05% 0.1707 -0.1062)
OKLCHoklch(49.05% 0.201 328.1)
XYZxyz(19.1327, 9.9769, 30.6177)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982098 #209820
analogous
#5C2098 #982098 #98205C
triadic
#982098 #989820 #209898
tetradic
#982098 #985C20 #209820 #205C98
square
#982098 #985C20 #209820 #205C98
split-complementary
#982098 #5C9820 #20985C
monochromatic
#330B33 #651565 #982098 #CB2BCB #DC57DC

Accessibility & contrast

On white

7.01
#982098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#982098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982098
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982098#FFFFFF#000000##FFFFFF
##9820981.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.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: #982098;
/* rgb */ color: rgb(152, 32, 152);
/* oklch */ color: oklch(49.1% 0.201 328.1);
Tailwind
colors: {
  custom: {
    50: '#ba6bb7',
    500: '#982098',
    950: '#000000',
  },
}
SCSS
$custom: #982098;
$custom-light: #ba6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982098",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.20098,
    "h": 328.1
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#982098
secondary
#54BF54
accent
#E84040
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982098

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

Preview Lab → · Contrast checker → · Palette generator →

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