#982192#982192

#982192 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.196 H 330.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#982192
RGBrgb(152, 33, 146)
HSLhsl(303, 64%, 36%)
HSVhsv(303, 78%, 60%)
CMYKcmyk(0%, 78.3%, 3.9%, 40.4%)
CIE-LABlab(37.55, 59.87, -35.01)
CIE-LCHlch(37.55, 69.36, 329.69°)
OKLaboklab(48.76% 0.17 -0.0967)
OKLCHoklch(48.76% 0.196 330.4)
XYZxyz(18.6810, 9.8399, 28.1040)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982192 #219827
analogous
#632198 #982192 #982157
triadic
#982192 #929821 #219298
tetradic
#982192 #986321 #219827 #215798
square
#982192 #986321 #219827 #215798
split-complementary
#982192 #579821 #219863
monochromatic
#330B31 #661662 #982192 #CA2CC2 #DB59D4

Accessibility & contrast

On white

7.08
#982192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#982192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982192
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982192#FFFFFF#000000##FFFFFF
##9821921.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#475E8F
Tritanopia (blue-blind)
#9E3259
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982192;
/* rgb */ color: rgb(152, 33, 146);
/* oklch */ color: oklch(48.8% 0.196 330.4);
Tailwind
colors: {
  custom: {
    50: '#ba6bb2',
    500: '#982192',
    950: '#000000',
  },
}
SCSS
$custom: #982192;
$custom-light: #ba6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#982192",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 303.025,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.19553,
    "h": 330.4
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#982192
secondary
#56BF5B
accent
#E74940
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #982192

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

Preview Lab → · Contrast checker → · Palette generator →

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