#982296#982296

#982296 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.198 H 328.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#982296
RGBrgb(152, 34, 150)
HSLhsl(301, 63%, 36%)
HSVhsv(301, 78%, 60%)
CMYKcmyk(0%, 77.6%, 1.3%, 40.4%)
CIE-LABlab(37.88, 60.23, -36.92)
CIE-LCHlch(37.88, 70.65, 328.49°)
OKLaboklab(49.07% 0.1691 -0.1022)
OKLCHoklch(49.07% 0.198 328.8)
XYZxyz(19.0258, 10.0229, 29.7808)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982296 #229824
analogous
#5F2298 #982296 #98225B
triadic
#982296 #969822 #229698
tetradic
#982296 #985F22 #229824 #225B98
square
#982296 #985F22 #229824 #225B98
split-complementary
#982296 #5B9822 #22985F
monochromatic
#340C33 #661765 #982296 #CA2DC7 #DA5AD8

Accessibility & contrast

On white

6.99
#982296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#982296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982296
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982296#FFFFFF#000000##FFFFFF
##9822961.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F99
Deuteranopia (green-blind)
#455E93
Tritanopia (blue-blind)
#9D355B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982296;
/* rgb */ color: rgb(152, 34, 150);
/* oklch */ color: oklch(49.1% 0.198 328.8);
Tailwind
colors: {
  custom: {
    50: '#ba6cb5',
    500: '#982296',
    950: '#000000',
  },
}
SCSS
$custom: #982296;
$custom-light: #ba6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#982296",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 301.017,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.19759,
    "h": 328.8
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#982296
secondary
#57BE59
accent
#E64441
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982296

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

Preview Lab → · Contrast checker → · Palette generator →

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