#982391#982391

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

Color values

HEX#982391
RGBrgb(152, 35, 145)
HSLhsl(304, 63%, 37%)
HSVhsv(304, 77%, 60%)
CMYKcmyk(0%, 77%, 4.6%, 40.4%)
CIE-LABlab(37.70, 59.12, -34.16)
CIE-LCHlch(37.70, 68.28, 329.98°)
OKLaboklab(48.85% 0.1682 -0.0942)
OKLCHoklch(48.85% 0.193 330.7)
XYZxyz(18.6607, 9.9233, 27.7151)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982391 #23982A
analogous
#652398 #982391 #982357
triadic
#982391 #919823 #239198
tetradic
#982391 #986523 #23982A #235798
square
#982391 #986523 #23982A #235798
split-complementary
#982391 #579823 #239865
monochromatic
#350C32 #661862 #982391 #CA2EC0 #D95CD2

Accessibility & contrast

On white

7.04
#982391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982391
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982391#FFFFFF#000000##FFFFFF
##9823911.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F94
Deuteranopia (green-blind)
#485E8E
Tritanopia (blue-blind)
#9E3359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982391;
/* rgb */ color: rgb(152, 35, 145);
/* oklch */ color: oklch(48.9% 0.193 330.7);
Tailwind
colors: {
  custom: {
    50: '#ba6cb2',
    500: '#982391',
    950: '#000000',
  },
}
SCSS
$custom: #982391;
$custom-light: #ba6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#982391",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 303.59,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.19283,
    "h": 330.7
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#982391
secondary
#59BE5F
accent
#E64C42
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982391

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

Preview Lab → · Contrast checker → · Palette generator →

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