#8D2F94#8D2F94

#8D2F94 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.176 H 324.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8D2F94
RGBrgb(141, 47, 148)
HSLhsl(296, 52%, 38%)
HSVhsv(296, 68%, 58%)
CMYKcmyk(4.7%, 68.2%, 0%, 42%)
CIE-LABlab(37.54, 52.82, -36.36)
CIE-LCHlch(37.54, 64.12, 325.46°)
OKLaboklab(48.44% 0.1439 -0.101)
OKLCHoklch(48.44% 0.176 324.9)
XYZxyz(17.3459, 9.8349, 28.9959)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F94 #36942F
analogous
#5A2F94 #8D2F94 #942F68
triadic
#8D2F94 #948D2F #2F948D
tetradic
#8D2F94 #945A2F #36942F #2F6894
square
#8D2F94 #945A2F #36942F #2F6894
split-complementary
#8D2F94 #68942F #2F945A
monochromatic
#341137 #612066 #8D2F94 #B93EC2 #CA6DD1

Accessibility & contrast

On white

7.08
#8D2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F94
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F94#FFFFFF#000000##FFFFFF
##8D2F941.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2f94;
/* rgb */ color: rgb(141, 47, 148);
/* oklch */ color: oklch(48.4% 0.176 324.9);
Tailwind
colors: {
  custom: {
    50: '#b170b4',
    500: '#8d2f94',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f94;
$custom-light: #b170b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f94",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 295.842,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.17579,
    "h": 324.9
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#8D2F94
secondary
#6DB867
accent
#DB4D56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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