#8D309B#8D309B

#8D309B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.181 H 322.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8D309B
RGBrgb(141, 48, 155)
HSLhsl(292, 53%, 40%)
HSVhsv(292, 69%, 61%)
CMYKcmyk(9%, 69%, 0%, 39.2%)
CIE-LABlab(38.10, 53.71, -39.72)
CIE-LCHlch(38.10, 66.80, 323.52°)
OKLaboklab(48.97% 0.1427 -0.1108)
OKLCHoklch(48.97% 0.181 322.2)
XYZxyz(17.9572, 10.1442, 32.0162)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D309B #3E9B30
analogous
#58309B #8D309B #9B3073
triadic
#8D309B #9B8D30 #309B8D
tetradic
#8D309B #9B5830 #3E9B30 #30739B
square
#8D309B #9B5830 #3E9B30 #30739B
split-complementary
#8D309B #739B30 #309B58
monochromatic
#38133E #62226C #8D309B #B443C5 #C772D3

Accessibility & contrast

On white

6.93
#8D309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D309B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D309B#FFFFFF#000000##FFFFFF
##8D309B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539E
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#8F4262
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d309b;
/* rgb */ color: rgb(141, 48, 155);
/* oklch */ color: oklch(49.0% 0.181 322.2);
Tailwind
colors: {
  custom: {
    50: '#b270b9',
    500: '#8d309b',
    950: '#000000',
  },
}
SCSS
$custom: #8d309b;
$custom-light: #b270b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d309b",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 292.15,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.18069,
    "h": 322.2
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#8D309B
secondary
#76BB6C
accent
#DC4C5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D309B

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

Preview Lab → · Contrast checker → · Palette generator →

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