#8D2E94#8D2E94

#8D2E94 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.177 H 325.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D2E94
RGBrgb(141, 46, 148)
HSLhsl(296, 53%, 38%)
HSVhsv(296, 69%, 58%)
CMYKcmyk(4.7%, 68.9%, 0%, 42%)
CIE-LABlab(37.40, 53.22, -36.58)
CIE-LCHlch(37.40, 64.58, 325.50°)
OKLaboklab(48.33% 0.145 -0.1017)
OKLCHoklch(48.33% 0.177 325)
XYZxyz(17.3064, 9.7559, 28.9828)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E94 #35942E
analogous
#5A2E94 #8D2E94 #942E68
triadic
#8D2E94 #948D2E #2E948D
tetradic
#8D2E94 #945A2E #35942E #2E6894
square
#8D2E94 #945A2E #35942E #2E6894
split-complementary
#8D2E94 #68942E #2E945A
monochromatic
#341137 #611F65 #8D2E94 #B93DC3 #CA6BD1

Accessibility & contrast

On white

7.12
#8D2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D2E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E94
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E94#FFFFFF#000000##FFFFFF
##8D2E941.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175197
Deuteranopia (green-blind)
#425C91
Tritanopia (blue-blind)
#903E5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2e94;
/* rgb */ color: rgb(141, 46, 148);
/* oklch */ color: oklch(48.3% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#b16fb4',
    500: '#8d2e94',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e94;
$custom-light: #b16fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e94",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 295.882,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48333,
    "c": 0.17709,
    "h": 325
  },
  "luminance": 0.09755
}

Semantic roles & 50–950 ramp

primary
#8D2E94
secondary
#6BB866
accent
#DC4C56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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