#982491#982491

#982491 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.192 H 330.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#982491
RGBrgb(152, 36, 145)
HSLhsl(304, 62%, 37%)
HSVhsv(304, 76%, 60%)
CMYKcmyk(0%, 76.3%, 4.6%, 40.4%)
CIE-LABlab(37.81, 58.81, -33.99)
CIE-LCHlch(37.81, 67.92, 329.98°)
OKLaboklab(48.93% 0.1673 -0.0937)
OKLCHoklch(48.93% 0.192 330.7)
XYZxyz(18.6906, 9.9830, 27.7251)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982491 #24982B
analogous
#652498 #982491 #982457
triadic
#982491 #919824 #249198
tetradic
#982491 #986524 #24982B #245798
square
#982491 #986524 #24982B #245798
split-complementary
#982491 #579824 #249865
monochromatic
#350D33 #671862 #982491 #C930C0 #D95ED1

Accessibility & contrast

On white

7.01
#982491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982491
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982491#FFFFFF#000000##FFFFFF
##9824911.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#495F8E
Tritanopia (blue-blind)
#9E3359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982491;
/* rgb */ color: rgb(152, 36, 145);
/* oklch */ color: oklch(48.9% 0.192 330.7);
Tailwind
colors: {
  custom: {
    50: '#ba6cb1',
    500: '#982491',
    950: '#000000',
  },
}
SCSS
$custom: #982491;
$custom-light: #ba6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#982491",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 303.621,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.19181,
    "h": 330.7
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#982491
secondary
#5ABE60
accent
#E54D43
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982491

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

Preview Lab → · Contrast checker → · Palette generator →

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