#982996#982996

#982996 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.190 H 328.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#982996
RGBrgb(152, 41, 150)
HSLhsl(301, 58%, 38%)
HSVhsv(301, 73%, 60%)
CMYKcmyk(0%, 73%, 1.3%, 40.4%)
CIE-LABlab(38.66, 57.99, -35.68)
CIE-LCHlch(38.66, 68.09, 328.40°)
OKLaboklab(49.63% 0.1627 -0.0987)
OKLCHoklch(49.63% 0.19 328.8)
XYZxyz(19.2467, 10.4647, 29.8544)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982996 #29982B
analogous
#622998 #982996 #98295E
triadic
#982996 #969829 #299698
tetradic
#982996 #986229 #29982B #295E98
square
#982996 #986229 #29982B #295E98
split-complementary
#982996 #5E9829 #299862
monochromatic
#380F37 #681C66 #982996 #C836C6 #D666D4

Accessibility & contrast

On white

6.79
#982996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#982996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982996
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982996#FFFFFF#000000##FFFFFF
##9829961.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175299
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#9D395D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982996;
/* rgb */ color: rgb(152, 41, 150);
/* oklch */ color: oklch(49.6% 0.190 328.8);
Tailwind
colors: {
  custom: {
    50: '#ba6eb5',
    500: '#982996',
    950: '#000000',
  },
}
SCSS
$custom: #982996;
$custom-light: #ba6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#982996",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 301.081,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4963,
    "c": 0.19032,
    "h": 328.8
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#982996
secondary
#61BC63
accent
#E14A47
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982996

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

Preview Lab → · Contrast checker → · Palette generator →

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