#982995#982995

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

Color values

HEX#982995
RGBrgb(152, 41, 149)
HSLhsl(302, 58%, 38%)
HSVhsv(302, 73%, 60%)
CMYKcmyk(0%, 73%, 2%, 40.4%)
CIE-LABlab(38.61, 57.83, -35.16)
CIE-LCHlch(38.61, 67.68, 328.70°)
OKLaboklab(49.57% 0.1627 -0.0972)
OKLCHoklch(49.57% 0.19 329.1)
XYZxyz(19.1665, 10.4326, 29.4322)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982995 #29982C
analogous
#642998 #982995 #98295D
triadic
#982995 #959829 #299598
tetradic
#982995 #986429 #29982C #295D98
square
#982995 #986429 #29982C #295D98
split-complementary
#982995 #5D9829 #299864
monochromatic
#380F37 #681C66 #982995 #C836C4 #D666D3

Accessibility & contrast

On white

6.80
#982995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982995
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982995#FFFFFF#000000##FFFFFF
##9829951.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#9D395C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982995;
/* rgb */ color: rgb(152, 41, 149);
/* oklch */ color: oklch(49.6% 0.190 329.1);
Tailwind
colors: {
  custom: {
    50: '#ba6eb4',
    500: '#982995',
    950: '#000000',
  },
}
SCSS
$custom: #982995;
$custom-light: #ba6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#982995",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 301.622,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49572,
    "c": 0.18952,
    "h": 329.1
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#982995
secondary
#61BC64
accent
#E14B47
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982995

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

Preview Lab → · Contrast checker → · Palette generator →

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