#982294#982294

#982294 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.196 H 329.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#982294
RGBrgb(152, 34, 148)
HSLhsl(302, 63%, 36%)
HSVhsv(302, 78%, 60%)
CMYKcmyk(0%, 77.6%, 2.6%, 40.4%)
CIE-LABlab(37.77, 59.90, -35.89)
CIE-LCHlch(37.77, 69.83, 329.08°)
OKLaboklab(48.95% 0.1691 -0.0992)
OKLCHoklch(48.95% 0.196 329.6)
XYZxyz(18.8661, 9.9590, 28.9399)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982294 #229826
analogous
#612298 #982294 #982259
triadic
#982294 #949822 #229498
tetradic
#982294 #986122 #229826 #225998
square
#982294 #986122 #229826 #225998
split-complementary
#982294 #599822 #229861
monochromatic
#340C33 #661763 #982294 #CA2DC5 #DA5AD6

Accessibility & contrast

On white

7.02
#982294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#982294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982294
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982294#FFFFFF#000000##FFFFFF
##9822941.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F97
Deuteranopia (green-blind)
#465E91
Tritanopia (blue-blind)
#9E345A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982294;
/* rgb */ color: rgb(152, 34, 148);
/* oklch */ color: oklch(49.0% 0.196 329.6);
Tailwind
colors: {
  custom: {
    50: '#ba6cb4',
    500: '#982294',
    950: '#000000',
  },
}
SCSS
$custom: #982294;
$custom-light: #ba6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#982294",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 302.034,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.19607,
    "h": 329.6
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#982294
secondary
#57BE5B
accent
#E64741
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982294

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

Preview Lab → · Contrast checker → · Palette generator →

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