#8D309A#8D309A

#8D309A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.180 H 322.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8D309A
RGBrgb(141, 48, 154)
HSLhsl(293, 52%, 40%)
HSVhsv(293, 69%, 60%)
CMYKcmyk(8.4%, 68.8%, 0%, 39.6%)
CIE-LABlab(38.04, 53.53, -39.21)
CIE-LCHlch(38.04, 66.35, 323.78°)
OKLaboklab(48.91% 0.1427 -0.1093)
OKLCHoklch(48.91% 0.18 322.6)
XYZxyz(17.8736, 10.1107, 31.5757)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D309A #3D9A30
analogous
#58309A #8D309A #9A3072
triadic
#8D309A #9A8D30 #309A8D
tetradic
#8D309A #9A5830 #3D9A30 #30729A
square
#8D309A #9A5830 #3D9A30 #30729A
split-complementary
#8D309A #729A30 #309A58
monochromatic
#38133D #62216B #8D309A #B443C4 #C772D3

Accessibility & contrast

On white

6.95
#8D309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D309A
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D309A#FFFFFF#000000##FFFFFF
##8D309A1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539D
Deuteranopia (green-blind)
#3F5D97
Tritanopia (blue-blind)
#8F4261
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d309a;
/* rgb */ color: rgb(141, 48, 154);
/* oklch */ color: oklch(48.9% 0.180 322.6);
Tailwind
colors: {
  custom: {
    50: '#b270b8',
    500: '#8d309a',
    950: '#000000',
  },
}
SCSS
$custom: #8d309a;
$custom-light: #b270b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d309a",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 292.642,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48906,
    "c": 0.1798,
    "h": 322.6
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#8D309A
secondary
#75BB6B
accent
#DC4C5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D309A

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

Preview Lab → · Contrast checker → · Palette generator →

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