#982796#982796

#982796 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.193 H 328.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#982796
RGBrgb(152, 39, 150)
HSLhsl(301, 59%, 37%)
HSVhsv(301, 74%, 60%)
CMYKcmyk(0%, 74.3%, 1.3%, 40.4%)
CIE-LABlab(38.43, 58.67, -36.06)
CIE-LCHlch(38.43, 68.86, 328.42°)
OKLaboklab(49.46% 0.1646 -0.0998)
OKLCHoklch(49.46% 0.193 328.8)
XYZxyz(19.1793, 10.3299, 29.8320)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982796 #279829
analogous
#622798 #982796 #98275D
triadic
#982796 #969827 #279698
tetradic
#982796 #986227 #279829 #275D98
square
#982796 #986227 #279829 #275D98
split-complementary
#982796 #5D9827 #279862
monochromatic
#370E36 #671B66 #982796 #C933C6 #D763D5

Accessibility & contrast

On white

6.85
#982796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982796
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982796#FFFFFF#000000##FFFFFF
##9827961.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#9D385C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982796;
/* rgb */ color: rgb(152, 39, 150);
/* oklch */ color: oklch(49.5% 0.193 328.8);
Tailwind
colors: {
  custom: {
    50: '#ba6eb5',
    500: '#982796',
    950: '#000000',
  },
}
SCSS
$custom: #982796;
$custom-light: #ba6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#982796",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 301.062,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.19251,
    "h": 328.8
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#982796
secondary
#5EBC60
accent
#E24845
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982796

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

Preview Lab → · Contrast checker → · Palette generator →

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