#982791#982791

#982791 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.189 H 330.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#982791
RGBrgb(152, 39, 145)
HSLhsl(304, 59%, 37%)
HSVhsv(304, 74%, 60%)
CMYKcmyk(0%, 74.3%, 4.6%, 40.4%)
CIE-LABlab(38.15, 57.84, -33.45)
CIE-LCHlch(38.15, 66.82, 329.96°)
OKLaboklab(49.17% 0.1646 -0.0922)
OKLCHoklch(49.17% 0.189 330.7)
XYZxyz(18.7852, 10.1723, 27.7566)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982791 #27982E
analogous
#672798 #982791 #982758
triadic
#982791 #919827 #279198
tetradic
#982791 #986727 #27982E #275898
square
#982791 #986727 #27982E #275898
split-complementary
#982791 #589827 #279867
monochromatic
#370E34 #671B63 #982791 #C933BF #D763D0

Accessibility & contrast

On white

6.92
#982791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#982791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982791
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982791#FFFFFF#000000##FFFFFF
##9827911.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#9E355A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982791;
/* rgb */ color: rgb(152, 39, 145);
/* oklch */ color: oklch(49.2% 0.189 330.7);
Tailwind
colors: {
  custom: {
    50: '#ba6db1',
    500: '#982791',
    950: '#000000',
  },
}
SCSS
$custom: #982791;
$custom-light: #ba6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#982791",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 303.717,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.18863,
    "h": 330.7
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#982791
secondary
#5EBC64
accent
#E24F45
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982791

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

Preview Lab → · Contrast checker → · Palette generator →

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