#982292#982292

#982292 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.195 H 330.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#982292
RGBrgb(152, 34, 146)
HSLhsl(303, 63%, 36%)
HSVhsv(303, 78%, 60%)
CMYKcmyk(0%, 77.6%, 3.9%, 40.4%)
CIE-LABlab(37.66, 59.58, -34.84)
CIE-LCHlch(37.66, 69.02, 329.68°)
OKLaboklab(48.84% 0.1691 -0.0962)
OKLCHoklch(48.84% 0.195 330.4)
XYZxyz(18.7092, 9.8963, 28.1133)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982292 #229828
analogous
#632298 #982292 #982257
triadic
#982292 #929822 #229298
tetradic
#982292 #986322 #229828 #225798
square
#982292 #986322 #229828 #225798
split-complementary
#982292 #579822 #229863
monochromatic
#340C32 #661762 #982292 #CA2DC2 #DA5AD4

Accessibility & contrast

On white

7.05
#982292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#982292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982292
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982292#FFFFFF#000000##FFFFFF
##9822921.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E95
Deuteranopia (green-blind)
#475E8F
Tritanopia (blue-blind)
#9E3359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982292;
/* rgb */ color: rgb(152, 34, 146);
/* oklch */ color: oklch(48.8% 0.195 330.4);
Tailwind
colors: {
  custom: {
    50: '#ba6bb2',
    500: '#982292',
    950: '#000000',
  },
}
SCSS
$custom: #982292;
$custom-light: #ba6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#982292",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 303.051,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.19456,
    "h": 330.4
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#982292
secondary
#57BE5D
accent
#E64A41
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982292

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

Preview Lab → · Contrast checker → · Palette generator →

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