#8D2E97#8D2E97

#8D2E97 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.180 H 323.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8D2E97
RGBrgb(141, 46, 151)
HSLhsl(294, 53%, 39%)
HSVhsv(294, 70%, 59%)
CMYKcmyk(6.6%, 69.5%, 0%, 40.8%)
CIE-LABlab(37.58, 53.77, -38.13)
CIE-LCHlch(37.58, 65.92, 324.66°)
OKLaboklab(48.52% 0.145 -0.1062)
OKLCHoklch(48.52% 0.18 323.8)
XYZxyz(17.5469, 9.8521, 30.2496)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E97 #38972E
analogous
#582E97 #8D2E97 #972E6C
triadic
#8D2E97 #978D2E #2E978D
tetradic
#8D2E97 #97582E #38972E #2E6C97
square
#8D2E97 #97582E #38972E #2E6C97
split-complementary
#8D2E97 #6C972E #2E9758
monochromatic
#351139 #612068 #8D2E97 #B73EC4 #C96DD2

Accessibility & contrast

On white

7.07
#8D2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E97
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E97#FFFFFF#000000##FFFFFF
##8D2E971.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12519A
Deuteranopia (green-blind)
#405C94
Tritanopia (blue-blind)
#903F5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2e97;
/* rgb */ color: rgb(141, 46, 151);
/* oklch */ color: oklch(48.5% 0.180 323.8);
Tailwind
colors: {
  custom: {
    50: '#b26fb6',
    500: '#8d2e97',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e97;
$custom-light: #b26fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e97",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 294.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48515,
    "c": 0.1797,
    "h": 323.8
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#8D2E97
secondary
#6FBA67
accent
#DD4B59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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