#8D2098#8D2098

#8D2098 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.196 H 323.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8D2098
RGBrgb(141, 32, 152)
HSLhsl(295, 65%, 36%)
HSVhsv(295, 79%, 60%)
CMYKcmyk(7.2%, 78.9%, 0%, 40.4%)
CIE-LABlab(35.91, 58.87, -41.39)
CIE-LCHlch(35.91, 71.96, 324.89°)
OKLaboklab(47.35% 0.1584 -0.1156)
OKLCHoklch(47.35% 0.196 323.9)
XYZxyz(17.1680, 8.9638, 30.5256)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2098 #2B9820
analogous
#512098 #8D2098 #982067
triadic
#8D2098 #988D20 #20988D
tetradic
#8D2098 #985120 #2B9820 #206798
square
#8D2098 #985120 #2B9820 #206798
split-complementary
#8D2098 #679820 #209851
monochromatic
#2F0B33 #5E1565 #8D2098 #BC2BCB #CF57DC

Accessibility & contrast

On white

7.52
#8D2098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D2098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2098
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2098#FFFFFF#000000##FFFFFF
##8D20981.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#375995
Tritanopia (blue-blind)
#90385C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2098;
/* rgb */ color: rgb(141, 32, 152);
/* oklch */ color: oklch(47.3% 0.196 323.9);
Tailwind
colors: {
  custom: {
    50: '#b269b7',
    500: '#8d2098',
    950: '#000000',
  },
}
SCSS
$custom: #8d2098;
$custom-light: #b269b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2098",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 294.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47349,
    "c": 0.19609,
    "h": 323.9
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#8D2098
secondary
#5EBF54
accent
#E8404F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2098

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

Preview Lab → · Contrast checker → · Palette generator →

#8D2098 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva