#8D2D98#8D2D98

#8D2D98 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.182 H 323.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8D2D98
RGBrgb(141, 45, 152)
HSLhsl(294, 54%, 39%)
HSVhsv(294, 70%, 60%)
CMYKcmyk(7.2%, 70.4%, 0%, 40.4%)
CIE-LABlab(37.49, 54.35, -38.87)
CIE-LCHlch(37.49, 66.82, 324.43°)
OKLaboklab(48.48% 0.1461 -0.1083)
OKLCHoklch(48.48% 0.182 323.4)
XYZxyz(17.5899, 9.8075, 30.6662)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D98 #38982D
analogous
#572D98 #8D2D98 #982D6D
triadic
#8D2D98 #988D2D #2D988D
tetradic
#8D2D98 #98572D #38982D #2D6D98
square
#8D2D98 #98572D #38982D #2D6D98
split-complementary
#8D2D98 #6D982D #2D9857
monochromatic
#35113A #611F69 #8D2D98 #B73DC5 #C96CD3

Accessibility & contrast

On white

7.09
#8D2D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8D2D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D98
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D98#FFFFFF#000000##FFFFFF
##8D2D981.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D519B
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#8F3F5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2d98;
/* rgb */ color: rgb(141, 45, 152);
/* oklch */ color: oklch(48.5% 0.182 323.4);
Tailwind
colors: {
  custom: {
    50: '#b26fb7',
    500: '#8d2d98',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d98;
$custom-light: #b26fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d98",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 293.832,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48476,
    "c": 0.18183,
    "h": 323.4
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#8D2D98
secondary
#6FBA66
accent
#DE4A59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2D98

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

Preview Lab → · Contrast checker → · Palette generator →

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