#8D309E#8D309E

#8D309E is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.183 H 321.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8D309E
RGBrgb(141, 48, 158)
HSLhsl(291, 53%, 40%)
HSVhsv(291, 70%, 62%)
CMYKcmyk(10.8%, 69.6%, 0%, 38%)
CIE-LABlab(38.28, 54.29, -41.24)
CIE-LCHlch(38.28, 68.18, 322.78°)
OKLaboklab(49.16% 0.1427 -0.1152)
OKLCHoklch(49.16% 0.183 321.1)
XYZxyz(18.2123, 10.2462, 33.3595)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D309E #419E30
analogous
#56309E #8D309E #9E3078
triadic
#8D309E #9E8D30 #309E8D
tetradic
#8D309E #9E5630 #419E30 #30789E
square
#8D309E #9E5630 #419E30 #30789E
split-complementary
#8D309E #789E30 #309E56
monochromatic
#391340 #63226F #8D309E #B245C6 #C674D5

Accessibility & contrast

On white

6.89
#8D309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D309E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D309E#FFFFFF#000000##FFFFFF
##8D309E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0554A1
Deuteranopia (green-blind)
#3C5D9B
Tritanopia (blue-blind)
#8E4463
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d309e;
/* rgb */ color: rgb(141, 48, 158);
/* oklch */ color: oklch(49.2% 0.183 321.1);
Tailwind
colors: {
  custom: {
    50: '#b271bb',
    500: '#8d309e',
    950: '#000000',
  },
}
SCSS
$custom: #8d309e;
$custom-light: #b271bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d309e",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 290.727,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49156,
    "c": 0.18339,
    "h": 321.1
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#8D309E
secondary
#79BD6D
accent
#DD4B62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D309E

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

Preview Lab → · Contrast checker → · Palette generator →

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