#982B89#982B89

#982B89 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.178 H 334.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#982B89
RGBrgb(152, 43, 137)
HSLhsl(308, 56%, 38%)
HSVhsv(308, 72%, 60%)
CMYKcmyk(0%, 71.7%, 9.9%, 40.4%)
CIE-LABlab(38.22, 55.17, -28.44)
CIE-LCHlch(38.22, 62.07, 332.73°)
OKLaboklab(49.08% 0.16 -0.0778)
OKLCHoklch(49.08% 0.178 334.1)
XYZxyz(18.3283, 10.2108, 24.6676)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B89 #2B983A
analogous
#702B98 #982B89 #982B52
triadic
#982B89 #89982B #2B8998
tetradic
#982B89 #98702B #2B983A #2B5298
square
#982B89 #98702B #2B983A #2B5298
split-complementary
#982B89 #52982B #2B9870
monochromatic
#391033 #681E5E #982B89 #C739B4 #D569C6

Accessibility & contrast

On white

6.90
#982B89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#982B89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982B89
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B89#FFFFFF#000000##FFFFFF
##982B891.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#4F6086
Tritanopia (blue-blind)
#9F3457
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982b89;
/* rgb */ color: rgb(152, 43, 137);
/* oklch */ color: oklch(49.1% 0.178 334.1);
Tailwind
colors: {
  custom: {
    50: '#ba6fac',
    500: '#982b89',
    950: '#000000',
  },
}
SCSS
$custom: #982b89;
$custom-light: #ba6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#982b89",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 308.257,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49084,
    "c": 0.17794,
    "h": 334.1
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#982B89
secondary
#64BB70
accent
#DF5D49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982B89

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

Preview Lab → · Contrast checker → · Palette generator →

#982B89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva