#982188#982188

#982188 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.188 H 334.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#982188
RGBrgb(152, 33, 136)
HSLhsl(308, 64%, 36%)
HSVhsv(308, 78%, 60%)
CMYKcmyk(0%, 78.3%, 10.5%, 40.4%)
CIE-LABlab(37.01, 58.31, -29.73)
CIE-LCHlch(37.01, 65.45, 332.99°)
OKLaboklab(48.2% 0.1697 -0.0814)
OKLCHoklch(48.2% 0.188 334.4)
XYZxyz(17.9369, 9.5423, 24.1849)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982188 #219831
analogous
#6D2198 #982188 #98214D
triadic
#982188 #889821 #218898
tetradic
#982188 #986D21 #219831 #214D98
square
#982188 #986D21 #219831 #214D98
split-complementary
#982188 #4D9821 #21986D
monochromatic
#330B2E #66165B #982188 #CA2CB5 #DB59C9

Accessibility & contrast

On white

7.22
#982188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#982188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982188
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982188#FFFFFF#000000##FFFFFF
##9821881.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#9F2D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982188;
/* rgb */ color: rgb(152, 33, 136);
/* oklch */ color: oklch(48.2% 0.188 334.4);
Tailwind
colors: {
  custom: {
    50: '#ba6bab',
    500: '#982188',
    950: '#000000',
  },
}
SCSS
$custom: #982188;
$custom-light: #ba6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#982188",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 308.067,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48196,
    "c": 0.18819,
    "h": 334.4
  },
  "luminance": 0.09541
}

Semantic roles & 50–950 ramp

primary
#982188
secondary
#56BF64
accent
#E75740
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982188

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

Preview Lab → · Contrast checker → · Palette generator →

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