#982196#982196

#982196 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.199 H 328.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#982196
RGBrgb(152, 33, 150)
HSLhsl(301, 64%, 36%)
HSVhsv(301, 78%, 60%)
CMYKcmyk(0%, 78.3%, 1.3%, 40.4%)
CIE-LABlab(37.78, 60.52, -37.08)
CIE-LCHlch(37.78, 70.98, 328.50°)
OKLaboklab(49% 0.1699 -0.1027)
OKLCHoklch(49% 0.199 328.8)
XYZxyz(18.9976, 9.9666, 29.7714)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982196 #219823
analogous
#5F2198 #982196 #98215B
triadic
#982196 #969821 #219698
tetradic
#982196 #985F21 #219823 #215B98
square
#982196 #985F21 #219823 #215B98
split-complementary
#982196 #5B9821 #21985F
monochromatic
#330B33 #661664 #982196 #CA2CC8 #DB59D9

Accessibility & contrast

On white

7.02
#982196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982196
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982196#FFFFFF#000000##FFFFFF
##9821961.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#455E93
Tritanopia (blue-blind)
#9D345B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982196;
/* rgb */ color: rgb(152, 33, 150);
/* oklch */ color: oklch(49.0% 0.199 328.8);
Tailwind
colors: {
  custom: {
    50: '#ba6bb5',
    500: '#982196',
    950: '#000000',
  },
}
SCSS
$custom: #982196;
$custom-light: #ba6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#982196",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 301.008,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49,
    "c": 0.19854,
    "h": 328.8
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#982196
secondary
#56BF58
accent
#E74340
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982196

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

Preview Lab → · Contrast checker → · Palette generator →

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