#982193#982193

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

Color values

HEX#982193
RGBrgb(152, 33, 147)
HSLhsl(303, 64%, 36%)
HSVhsv(303, 78%, 60%)
CMYKcmyk(0%, 78.3%, 3.3%, 40.4%)
CIE-LABlab(37.61, 60.03, -35.53)
CIE-LCHlch(37.61, 69.76, 329.38°)
OKLaboklab(48.82% 0.17 -0.0982)
OKLCHoklch(48.82% 0.196 330)
XYZxyz(18.7591, 9.8712, 28.5154)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982193 #219826
analogous
#622198 #982193 #982158
triadic
#982193 #939821 #219398
tetradic
#982193 #986221 #219826 #215898
square
#982193 #986221 #219826 #215898
split-complementary
#982193 #589821 #219862
monochromatic
#330B32 #661662 #982193 #CA2CC4 #DB59D5

Accessibility & contrast

On white

7.06
#982193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982193
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982193#FFFFFF#000000##FFFFFF
##9821931.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E96
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#9E3359
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982193;
/* rgb */ color: rgb(152, 33, 147);
/* oklch */ color: oklch(48.8% 0.196 330.0);
Tailwind
colors: {
  custom: {
    50: '#ba6bb3',
    500: '#982193',
    950: '#000000',
  },
}
SCSS
$custom: #982193;
$custom-light: #ba6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#982193",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 302.521,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.19628,
    "h": 330
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#982193
secondary
#56BF5A
accent
#E74740
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982193

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

Preview Lab → · Contrast checker → · Palette generator →

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