#8D2495#8D2495

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

Color values

HEX#8D2495
RGBrgb(141, 36, 149)
HSLhsl(296, 61%, 36%)
HSVhsv(296, 76%, 58%)
CMYKcmyk(5.4%, 75.8%, 0%, 41.6%)
CIE-LABlab(36.17, 57.07, -39.16)
CIE-LCHlch(36.17, 69.21, 325.55°)
OKLaboklab(47.47% 0.1551 -0.1091)
OKLCHoklch(47.47% 0.19 324.9)
XYZxyz(17.0398, 9.0955, 29.2860)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2495 #2C9524
analogous
#552495 #8D2495 #952465
triadic
#8D2495 #958D24 #24958D
tetradic
#8D2495 #955524 #2C9524 #246595
square
#8D2495 #955524 #2C9524 #246595
split-complementary
#8D2495 #659524 #249555
monochromatic
#300C32 #5E1864 #8D2495 #BC30C6 #CF5CD8

Accessibility & contrast

On white

7.45
#8D2495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D2495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2495
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2495#FFFFFF#000000##FFFFFF
##8D24951.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#3C5992
Tritanopia (blue-blind)
#90385B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2495;
/* rgb */ color: rgb(141, 36, 149);
/* oklch */ color: oklch(47.5% 0.190 324.9);
Tailwind
colors: {
  custom: {
    50: '#b26bb5',
    500: '#8d2495',
    950: '#000000',
  },
}
SCSS
$custom: #8d2495;
$custom-light: #b26bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2495",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 295.752,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.18964,
    "h": 324.9
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#8D2495
secondary
#60BC59
accent
#E4444F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2495

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

Preview Lab → · Contrast checker → · Palette generator →

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