#982185#982185

#982185 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.186 H 335.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#982185
RGBrgb(152, 33, 133)
HSLhsl(310, 64%, 36%)
HSVhsv(310, 78%, 60%)
CMYKcmyk(0%, 78.3%, 12.5%, 40.4%)
CIE-LABlab(36.85, 57.86, -28.12)
CIE-LCHlch(36.85, 64.33, 334.08°)
OKLaboklab(48.03% 0.1695 -0.0768)
OKLCHoklch(48.03% 0.186 335.6)
XYZxyz(17.7267, 9.4582, 23.0778)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982185 #219834
analogous
#702198 #982185 #98214A
triadic
#982185 #859821 #218598
tetradic
#982185 #987021 #219834 #214A98
square
#982185 #987021 #219834 #214A98
split-complementary
#982185 #4A9821 #219870
monochromatic
#330B2D #661659 #982185 #CA2CB1 #DB59C6

Accessibility & contrast

On white

7.26
#982185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#982185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982185
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982185#FFFFFF#000000##FFFFFF
##9821851.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B88
Deuteranopia (green-blind)
#4D5D82
Tritanopia (blue-blind)
#A02B51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982185;
/* rgb */ color: rgb(152, 33, 133);
/* oklch */ color: oklch(48.0% 0.186 335.6);
Tailwind
colors: {
  custom: {
    50: '#ba6ba9',
    500: '#982185',
    950: '#000000',
  },
}
SCSS
$custom: #982185;
$custom-light: #ba6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#982185",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 309.58,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48034,
    "c": 0.18607,
    "h": 335.6
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#982185
secondary
#56BF67
accent
#E75B40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982185

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

Preview Lab → · Contrast checker → · Palette generator →

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