#8D2498#8D2498

#8D2498 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.192 H 323.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8D2498
RGBrgb(141, 36, 152)
HSLhsl(294, 62%, 37%)
HSVhsv(294, 76%, 60%)
CMYKcmyk(7.2%, 76.3%, 0%, 40.4%)
CIE-LABlab(36.35, 57.61, -40.69)
CIE-LCHlch(36.35, 70.53, 324.77°)
OKLaboklab(47.66% 0.155 -0.1135)
OKLCHoklch(47.66% 0.192 323.8)
XYZxyz(17.2824, 9.1925, 30.5637)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2498 #2F9824
analogous
#532498 #8D2498 #982469
triadic
#8D2498 #988D24 #24988D
tetradic
#8D2498 #985324 #2F9824 #246998
square
#8D2498 #985324 #2F9824 #246998
split-complementary
#8D2498 #699824 #249853
monochromatic
#310D35 #5F1867 #8D2498 #BB30C9 #CD5ED9

Accessibility & contrast

On white

7.40
#8D2498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D2498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2498
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2498#FFFFFF#000000##FFFFFF
##8D24981.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#395A95
Tritanopia (blue-blind)
#903A5D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2498;
/* rgb */ color: rgb(141, 36, 152);
/* oklch */ color: oklch(47.7% 0.192 323.8);
Tailwind
colors: {
  custom: {
    50: '#b26bb7',
    500: '#8d2498',
    950: '#000000',
  },
}
SCSS
$custom: #8d2498;
$custom-light: #b26bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2498",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 294.31,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.19211,
    "h": 323.8
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#8D2498
secondary
#64BE5A
accent
#E54352
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2498

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

Preview Lab → · Contrast checker → · Palette generator →

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