#8D2F95#8D2F95

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

Color values

HEX#8D2F95
RGBrgb(141, 47, 149)
HSLhsl(295, 52%, 38%)
HSVhsv(295, 68%, 58%)
CMYKcmyk(5.4%, 68.5%, 0%, 41.6%)
CIE-LABlab(37.60, 53.00, -36.87)
CIE-LCHlch(37.60, 64.56, 325.17°)
OKLaboklab(48.5% 0.1439 -0.1025)
OKLCHoklch(48.5% 0.177 324.5)
XYZxyz(17.4254, 9.8667, 29.4146)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F95 #37952F
analogous
#5A2F95 #8D2F95 #952F6A
triadic
#8D2F95 #958D2F #2F958D
tetradic
#8D2F95 #955A2F #37952F #2F6A95
square
#8D2F95 #955A2F #37952F #2F6A95
split-complementary
#8D2F95 #6A952F #2F955A
monochromatic
#351238 #612066 #8D2F95 #B83FC2 #C96DD1

Accessibility & contrast

On white

7.06
#8D2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F95
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F95#FFFFFF#000000##FFFFFF
##8D2F951.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185198
Deuteranopia (green-blind)
#425C92
Tritanopia (blue-blind)
#903F5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2f95;
/* rgb */ color: rgb(141, 47, 149);
/* oklch */ color: oklch(48.5% 0.177 324.5);
Tailwind
colors: {
  custom: {
    50: '#b170b4',
    500: '#8d2f95',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f95;
$custom-light: #b170b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f95",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 295.294,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48497,
    "c": 0.17667,
    "h": 324.5
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#8D2F95
secondary
#6EB867
accent
#DB4C58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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