#982392#982392

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

Color values

HEX#982392
RGBrgb(152, 35, 146)
HSLhsl(303, 63%, 37%)
HSVhsv(303, 77%, 60%)
CMYKcmyk(0%, 77%, 3.9%, 40.4%)
CIE-LABlab(37.76, 59.28, -34.68)
CIE-LCHlch(37.76, 68.68, 329.67°)
OKLaboklab(48.91% 0.1682 -0.0957)
OKLCHoklch(48.91% 0.194 330.4)
XYZxyz(18.7382, 9.9543, 28.1230)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982392 #239829
analogous
#642398 #982392 #982358
triadic
#982392 #929823 #239298
tetradic
#982392 #986423 #239829 #235898
square
#982392 #986423 #239829 #235898
split-complementary
#982392 #589823 #239864
monochromatic
#350C32 #661862 #982392 #CA2EC2 #D95CD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982392#FFFFFF#000000##FFFFFF
##9823921.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)
#134F95
Deuteranopia (green-blind)
#485E8F
Tritanopia (blue-blind)
#9E3359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982392;
/* rgb */ color: rgb(152, 35, 146);
/* oklch */ color: oklch(48.9% 0.194 330.4);
Tailwind
colors: {
  custom: {
    50: '#ba6cb2',
    500: '#982392',
    950: '#000000',
  },
}
SCSS
$custom: #982392;
$custom-light: #ba6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#982392",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 303.077,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.19358,
    "h": 330.4
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#982392
secondary
#59BE5E
accent
#E64B42
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982392

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

Preview Lab → · Contrast checker → · Palette generator →

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