#982999#982999

#982999 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.193 H 327.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#982999
RGBrgb(152, 41, 153)
HSLhsl(299, 58%, 38%)
HSVhsv(299, 73%, 60%)
CMYKcmyk(0.7%, 73.2%, 0%, 40%)
CIE-LABlab(38.83, 58.50, -37.23)
CIE-LCHlch(38.83, 69.34, 327.52°)
OKLaboklab(49.81% 0.1627 -0.1032)
OKLCHoklch(49.81% 0.193 327.6)
XYZxyz(19.4913, 10.5626, 31.1430)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982999 #2A9929
analogous
#602999 #982999 #992962
triadic
#982999 #999829 #299998
tetradic
#982999 #996029 #2A9929 #296299
square
#982999 #996029 #2A9929 #296299
split-complementary
#982999 #629929 #299960
monochromatic
#380F38 #681C69 #982999 #C836C9 #D566D6

Accessibility & contrast

On white

6.75
#982999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#982999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982999
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982999#FFFFFF#000000##FFFFFF
##9829991.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529C
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#9D3B5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982999;
/* rgb */ color: rgb(152, 41, 153);
/* oklch */ color: oklch(49.8% 0.193 327.6);
Tailwind
colors: {
  custom: {
    50: '#ba6eb7',
    500: '#982999',
    950: '#000000',
  },
}
SCSS
$custom: #982999;
$custom-light: #ba6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982999",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 299.464,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49806,
    "c": 0.1927,
    "h": 327.6
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#982999
secondary
#62BC62
accent
#E14748
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982999

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

Preview Lab → · Contrast checker → · Palette generator →

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