#982290#982290

#982290 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.193 H 331.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#982290
RGBrgb(152, 34, 144)
HSLhsl(304, 63%, 36%)
HSVhsv(304, 78%, 60%)
CMYKcmyk(0%, 77.6%, 5.3%, 40.4%)
CIE-LABlab(37.54, 59.26, -33.80)
CIE-LCHlch(37.54, 68.22, 330.30°)
OKLaboklab(48.72% 0.1691 -0.0932)
OKLCHoklch(48.72% 0.193 331.1)
XYZxyz(18.5550, 9.8346, 27.3012)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982290 #22982A
analogous
#652298 #982290 #982255
triadic
#982290 #909822 #229098
tetradic
#982290 #986522 #22982A #225598
square
#982290 #986522 #22982A #225598
split-complementary
#982290 #559822 #229865
monochromatic
#340C31 #661761 #982290 #CA2DBF #DA5AD1

Accessibility & contrast

On white

7.08
#982290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982290
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982290#FFFFFF#000000##FFFFFF
##9822901.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E93
Deuteranopia (green-blind)
#485E8D
Tritanopia (blue-blind)
#9E3258
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982290;
/* rgb */ color: rgb(152, 34, 144);
/* oklch */ color: oklch(48.7% 0.193 331.1);
Tailwind
colors: {
  custom: {
    50: '#ba6bb1',
    500: '#982290',
    950: '#000000',
  },
}
SCSS
$custom: #982290;
$custom-light: #ba6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#982290",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 304.068,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.19307,
    "h": 331.1
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#982290
secondary
#57BE5E
accent
#E64D41
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #982290

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

Preview Lab → · Contrast checker → · Palette generator →

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