#8D2298#8D2298

#8D2298 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.194 H 323.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8D2298
RGBrgb(141, 34, 152)
HSLhsl(294, 63%, 36%)
HSVhsv(294, 78%, 60%)
CMYKcmyk(7.2%, 77.6%, 0%, 40.4%)
CIE-LABlab(36.13, 58.25, -41.05)
CIE-LCHlch(36.13, 71.26, 324.83°)
OKLaboklab(47.5% 0.1567 -0.1146)
OKLCHoklch(47.5% 0.194 323.8)
XYZxyz(17.2235, 9.0749, 30.5441)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2298 #2D9822
analogous
#522298 #8D2298 #982268
triadic
#8D2298 #988D22 #22988D
tetradic
#8D2298 #985222 #2D9822 #226898
square
#8D2298 #985222 #2D9822 #226898
split-complementary
#8D2298 #689822 #229852
monochromatic
#300C34 #5F1766 #8D2298 #BB2DCA #CE5ADA

Accessibility & contrast

On white

7.46
#8D2298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D2298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2298
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2298#FFFFFF#000000##FFFFFF
##8D22981.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#90395C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2298;
/* rgb */ color: rgb(141, 34, 152);
/* oklch */ color: oklch(47.5% 0.194 323.8);
Tailwind
colors: {
  custom: {
    50: '#b26ab7',
    500: '#8d2298',
    950: '#000000',
  },
}
SCSS
$custom: #8d2298;
$custom-light: #b26ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2298",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 294.407,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.19415,
    "h": 323.8
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#8D2298
secondary
#61BE57
accent
#E64151
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2298

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

Preview Lab → · Contrast checker → · Palette generator →

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