#8D309F#8D309F

#8D309F is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.184 H 320.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8D309F
RGBrgb(141, 48, 159)
HSLhsl(290, 54%, 41%)
HSVhsv(290, 70%, 62%)
CMYKcmyk(11.3%, 69.8%, 0%, 37.6%)
CIE-LABlab(38.34, 54.48, -41.75)
CIE-LCHlch(38.34, 68.64, 322.54°)
OKLaboklab(49.22% 0.1426 -0.1167)
OKLCHoklch(49.22% 0.184 320.7)
XYZxyz(18.2987, 10.2808, 33.8147)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D309F #429F30
analogous
#55309F #8D309F #9F3079
triadic
#8D309F #9F8D30 #309F8D
tetradic
#8D309F #9F5530 #429F30 #30799F
square
#8D309F #9F5530 #429F30 #30799F
split-complementary
#8D309F #799F30 #309F55
monochromatic
#3A1441 #632270 #8D309F #B245C7 #C574D5

Accessibility & contrast

On white

6.87
#8D309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D309F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D309F#FFFFFF#000000##FFFFFF
##8D309F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#3B5E9C
Tritanopia (blue-blind)
#8E4464
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d309f;
/* rgb */ color: rgb(141, 48, 159);
/* oklch */ color: oklch(49.2% 0.184 320.7);
Tailwind
colors: {
  custom: {
    50: '#b271bc',
    500: '#8d309f',
    950: '#000000',
  },
}
SCSS
$custom: #8d309f;
$custom-light: #b271bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d309f",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 290.27,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.18429,
    "h": 320.7
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#8D309F
secondary
#7BBD6E
accent
#DD4B63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D309F

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

Preview Lab → · Contrast checker → · Palette generator →

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