#982291#982291

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

Color values

HEX#982291
RGBrgb(152, 34, 145)
HSLhsl(304, 63%, 36%)
HSVhsv(304, 78%, 60%)
CMYKcmyk(0%, 77.6%, 4.6%, 40.4%)
CIE-LABlab(37.60, 59.42, -34.32)
CIE-LCHlch(37.60, 68.62, 329.99°)
OKLaboklab(48.78% 0.1691 -0.0947)
OKLCHoklch(48.78% 0.194 330.7)
XYZxyz(18.6317, 9.8653, 27.7055)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982291 #229829
analogous
#642298 #982291 #982256
triadic
#982291 #919822 #229198
tetradic
#982291 #986422 #229829 #225698
square
#982291 #986422 #229829 #225698
split-complementary
#982291 #569822 #229864
monochromatic
#340C32 #661761 #982291 #CA2DC1 #DA5AD3

Accessibility & contrast

On white

7.06
#982291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#982291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982291
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982291#FFFFFF#000000##FFFFFF
##9822911.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134E94
Deuteranopia (green-blind)
#485E8E
Tritanopia (blue-blind)
#9E3258
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982291;
/* rgb */ color: rgb(152, 34, 145);
/* oklch */ color: oklch(48.8% 0.194 330.7);
Tailwind
colors: {
  custom: {
    50: '#ba6bb2',
    500: '#982291',
    950: '#000000',
  },
}
SCSS
$custom: #982291;
$custom-light: #ba6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#982291",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 303.559,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48778,
    "c": 0.19382,
    "h": 330.7
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #982291

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

Preview Lab → · Contrast checker → · Palette generator →

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