#982096#982096

#982096 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.199 H 328.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#982096
RGBrgb(152, 32, 150)
HSLhsl(301, 65%, 36%)
HSVhsv(301, 79%, 60%)
CMYKcmyk(0%, 78.9%, 1.3%, 40.4%)
CIE-LABlab(37.68, 60.81, -37.24)
CIE-LCHlch(37.68, 71.30, 328.52°)
OKLaboklab(48.93% 0.1707 -0.1032)
OKLCHoklch(48.93% 0.199 328.9)
XYZxyz(18.9703, 9.9119, 29.7623)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982096 #209822
analogous
#5E2098 #982096 #98205A
triadic
#982096 #969820 #209698
tetradic
#982096 #985E20 #209822 #205A98
square
#982096 #985E20 #209822 #205A98
split-complementary
#982096 #5A9820 #20985E
monochromatic
#330B32 #651564 #982096 #CB2BC8 #DC57D9

Accessibility & contrast

On white

7.04
#982096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#982096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982096
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982096#FFFFFF#000000##FFFFFF
##9820961.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F99
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#9D345B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982096;
/* rgb */ color: rgb(152, 32, 150);
/* oklch */ color: oklch(48.9% 0.199 328.9);
Tailwind
colors: {
  custom: {
    50: '#ba6bb5',
    500: '#982096',
    950: '#000000',
  },
}
SCSS
$custom: #982096;
$custom-light: #ba6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#982096",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 301,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.19947,
    "h": 328.9
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#982096
secondary
#54BF56
accent
#E84240
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #982096

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

Preview Lab → · Contrast checker → · Palette generator →

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