#8D2E98#8D2E98

#8D2E98 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.181 H 323.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8D2E98
RGBrgb(141, 46, 152)
HSLhsl(294, 54%, 39%)
HSVhsv(294, 70%, 60%)
CMYKcmyk(7.2%, 69.7%, 0%, 40.4%)
CIE-LABlab(37.63, 53.96, -38.64)
CIE-LCHlch(37.63, 66.37, 324.39°)
OKLaboklab(48.58% 0.145 -0.1076)
OKLCHoklch(48.58% 0.181 323.4)
XYZxyz(17.6285, 9.8847, 30.6791)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E98 #39982E
analogous
#582E98 #8D2E98 #982E6E
triadic
#8D2E98 #988D2E #2E988D
tetradic
#8D2E98 #98582E #39982E #2E6E98
square
#8D2E98 #98582E #39982E #2E6E98
split-complementary
#8D2E98 #6E982E #2E9858
monochromatic
#36123A #612069 #8D2E98 #B73EC5 #C86DD3

Accessibility & contrast

On white

7.05
#8D2E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D2E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E98
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E98#FFFFFF#000000##FFFFFF
##8D2E981.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519B
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#8F405F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2e98;
/* rgb */ color: rgb(141, 46, 152);
/* oklch */ color: oklch(48.6% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#b26fb7',
    500: '#8d2e98',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e98;
$custom-light: #b26fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e98",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 293.774,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.18058,
    "h": 323.4
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#8D2E98
secondary
#70BA68
accent
#DD4B5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2E98

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

Preview Lab → · Contrast checker → · Palette generator →

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