#982088#982088

#982088 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.189 H 334.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#982088
RGBrgb(152, 32, 136)
HSLhsl(308, 65%, 36%)
HSVhsv(308, 79%, 60%)
CMYKcmyk(0%, 78.9%, 10.5%, 40.4%)
CIE-LABlab(36.91, 58.60, -29.89)
CIE-LCHlch(36.91, 65.79, 332.98°)
OKLaboklab(48.12% 0.1705 -0.0819)
OKLCHoklch(48.12% 0.189 334.3)
XYZxyz(17.9095, 9.4876, 24.1758)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982088 #209830
analogous
#6C2098 #982088 #98204C
triadic
#982088 #889820 #208898
tetradic
#982088 #986C20 #209830 #204C98
square
#982088 #986C20 #209830 #204C98
split-complementary
#982088 #4C9820 #20986C
monochromatic
#330B2E #65155B #982088 #CB2BB5 #DC57CA

Accessibility & contrast

On white

7.25
#982088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#982088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982088
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982088#FFFFFF#000000##FFFFFF
##9820881.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#9F2C53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982088;
/* rgb */ color: rgb(152, 32, 136);
/* oklch */ color: oklch(48.1% 0.189 334.3);
Tailwind
colors: {
  custom: {
    50: '#ba6aab',
    500: '#982088',
    950: '#000000',
  },
}
SCSS
$custom: #982088;
$custom-light: #ba6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#982088",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 308,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48124,
    "c": 0.18917,
    "h": 334.3
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#982088
secondary
#54BF63
accent
#E85640
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982088

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

Preview Lab → · Contrast checker → · Palette generator →

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