#982790#982790

#982790 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.188 H 331.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#982790
RGBrgb(152, 39, 144)
HSLhsl(304, 59%, 37%)
HSVhsv(304, 74%, 60%)
CMYKcmyk(0%, 74.3%, 5.3%, 40.4%)
CIE-LABlab(38.10, 57.68, -32.93)
CIE-LCHlch(38.10, 66.42, 330.28°)
OKLaboklab(49.11% 0.1645 -0.0907)
OKLCHoklch(49.11% 0.188 331.1)
XYZxyz(18.7084, 10.1415, 27.3523)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982790 #27982F
analogous
#682798 #982790 #982757
triadic
#982790 #909827 #279098
tetradic
#982790 #986827 #27982F #275798
square
#982790 #986827 #27982F #275798
split-complementary
#982790 #579827 #279868
monochromatic
#370E34 #671B62 #982790 #C933BE #D763CF

Accessibility & contrast

On white

6.94
#982790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982790
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982790#FFFFFF#000000##FFFFFF
##9827901.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5093
Deuteranopia (green-blind)
#4A5F8D
Tritanopia (blue-blind)
#9E3559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982790;
/* rgb */ color: rgb(152, 39, 144);
/* oklch */ color: oklch(49.1% 0.188 331.1);
Tailwind
colors: {
  custom: {
    50: '#ba6db1',
    500: '#982790',
    950: '#000000',
  },
}
SCSS
$custom: #982790;
$custom-light: #ba6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#982790",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 304.248,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.18787,
    "h": 331.1
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#982790
secondary
#5EBC65
accent
#E25145
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #982790

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

Preview Lab → · Contrast checker → · Palette generator →

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