#982194#982194

#982194 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.197 H 329.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#982194
RGBrgb(152, 33, 148)
HSLhsl(302, 64%, 36%)
HSVhsv(302, 78%, 60%)
CMYKcmyk(0%, 78.3%, 2.6%, 40.4%)
CIE-LABlab(37.67, 60.20, -36.05)
CIE-LCHlch(37.67, 70.16, 329.09°)
OKLaboklab(48.88% 0.1699 -0.0997)
OKLCHoklch(48.88% 0.197 329.6)
XYZxyz(18.8379, 9.9027, 28.9305)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982194 #219825
analogous
#612198 #982194 #982159
triadic
#982194 #949821 #219498
tetradic
#982194 #986121 #219825 #215998
square
#982194 #986121 #219825 #215998
split-complementary
#982194 #599821 #219861
monochromatic
#330B32 #661663 #982194 #CA2CC5 #DB59D6

Accessibility & contrast

On white

7.05
#982194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#982194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982194
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982194#FFFFFF#000000##FFFFFF
##9821941.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F97
Deuteranopia (green-blind)
#465E91
Tritanopia (blue-blind)
#9E335A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982194;
/* rgb */ color: rgb(152, 33, 148);
/* oklch */ color: oklch(48.9% 0.197 329.6);
Tailwind
colors: {
  custom: {
    50: '#ba6bb4',
    500: '#982194',
    950: '#000000',
  },
}
SCSS
$custom: #982194;
$custom-light: #ba6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#982194",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 302.017,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48881,
    "c": 0.19703,
    "h": 329.6
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#982194
secondary
#56BF59
accent
#E74640
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982194

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

Preview Lab → · Contrast checker → · Palette generator →

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