#8D2492#8D2492

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

Color values

HEX#8D2492
RGBrgb(141, 36, 146)
HSLhsl(297, 60%, 36%)
HSVhsv(297, 75%, 57%)
CMYKcmyk(3.4%, 75.3%, 0%, 42.7%)
CIE-LABlab(35.99, 56.55, -37.61)
CIE-LCHlch(35.99, 67.91, 326.37°)
OKLaboklab(47.28% 0.1553 -0.1046)
OKLCHoklch(47.28% 0.187 326)
XYZxyz(16.8034, 9.0009, 28.0409)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2492 #299224
analogous
#562492 #8D2492 #922460
triadic
#8D2492 #928D24 #24928D
tetradic
#8D2492 #925624 #299224 #246092
square
#8D2492 #925624 #299224 #246092
split-complementary
#8D2492 #609224 #249256
monochromatic
#2E0C30 #5E1861 #8D2492 #BC30C3 #D15AD6

Accessibility & contrast

On white

7.50
#8D2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2492
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2492#FFFFFF#000000##FFFFFF
##8D24921.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014C95
Deuteranopia (green-blind)
#3E598F
Tritanopia (blue-blind)
#913759
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2492;
/* rgb */ color: rgb(141, 36, 146);
/* oklch */ color: oklch(47.3% 0.187 326.0);
Tailwind
colors: {
  custom: {
    50: '#b26bb2',
    500: '#8d2492',
    950: '#000000',
  },
}
SCSS
$custom: #8d2492;
$custom-light: #b26bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2492",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 297.273,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.1872,
    "h": 326
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#8D2492
secondary
#5BBB57
accent
#E4444B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2492

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

Preview Lab → · Contrast checker → · Palette generator →

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