#982186#982186

#982186 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.187 H 335.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#982186
RGBrgb(152, 33, 134)
HSLhsl(309, 64%, 36%)
HSVhsv(309, 78%, 60%)
CMYKcmyk(0%, 78.3%, 11.8%, 40.4%)
CIE-LABlab(36.90, 58.01, -28.66)
CIE-LCHlch(36.90, 64.70, 333.71°)
OKLaboklab(48.09% 0.1695 -0.0784)
OKLCHoklch(48.09% 0.187 335.2)
XYZxyz(17.7961, 9.4860, 23.4434)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982186 #219833
analogous
#6F2198 #982186 #98214B
triadic
#982186 #869821 #218698
tetradic
#982186 #986F21 #219833 #214B98
square
#982186 #986F21 #219833 #214B98
split-complementary
#982186 #4B9821 #21986F
monochromatic
#330B2D #66165A #982186 #CA2CB2 #DB59C7

Accessibility & contrast

On white

7.25
#982186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#982186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982186
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982186#FFFFFF#000000##FFFFFF
##9821861.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#A02C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982186;
/* rgb */ color: rgb(152, 33, 134);
/* oklch */ color: oklch(48.1% 0.187 335.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ba9',
    500: '#982186',
    950: '#000000',
  },
}
SCSS
$custom: #982186;
$custom-light: #ba6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#982186",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 309.076,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.18677,
    "h": 335.2
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#982186
secondary
#56BF66
accent
#E75A40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982186

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

Preview Lab → · Contrast checker → · Palette generator →

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