#982699#982699

#982699 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.196 H 327.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#982699
RGBrgb(152, 38, 153)
HSLhsl(299, 60%, 37%)
HSVhsv(299, 75%, 60%)
CMYKcmyk(0.7%, 75.2%, 0%, 40%)
CIE-LABlab(38.49, 59.49, -37.79)
CIE-LCHlch(38.49, 70.48, 327.58°)
OKLaboklab(49.56% 0.1655 -0.1048)
OKLCHoklch(49.56% 0.196 327.7)
XYZxyz(19.3915, 10.3629, 31.1097)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982699 #279926
analogous
#5E2699 #982699 #992661
triadic
#982699 #999826 #269998
tetradic
#982699 #995E26 #279926 #266199
square
#982699 #995E26 #279926 #266199
split-complementary
#982699 #619926 #26995E
monochromatic
#370E37 #671A68 #982699 #C932CA #D762D8

Accessibility & contrast

On white

6.84
#982699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#982699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982699
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982699#FFFFFF#000000##FFFFFF
##9826991.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A519C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#9D395E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982699;
/* rgb */ color: rgb(152, 38, 153);
/* oklch */ color: oklch(49.6% 0.196 327.7);
Tailwind
colors: {
  custom: {
    50: '#ba6db7',
    500: '#982699',
    950: '#000000',
  },
}
SCSS
$custom: #982699;
$custom-light: #ba6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#982699",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 299.478,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.19591,
    "h": 327.7
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#982699
secondary
#5EBD5E
accent
#E34446
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982699

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

Preview Lab → · Contrast checker → · Palette generator →

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