#8D309C#8D309C

#8D309C is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.182 H 321.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D309C
RGBrgb(141, 48, 156)
HSLhsl(292, 53%, 40%)
HSVhsv(292, 69%, 61%)
CMYKcmyk(9.6%, 69.2%, 0%, 38.8%)
CIE-LABlab(38.16, 53.91, -40.23)
CIE-LCHlch(38.16, 67.26, 323.27°)
OKLaboklab(49.03% 0.1427 -0.1123)
OKLCHoklch(49.03% 0.182 321.8)
XYZxyz(18.0416, 10.1779, 32.4603)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D309C #3F9C30
analogous
#57309C #8D309C #9C3075
triadic
#8D309C #9C8D30 #309C8D
tetradic
#8D309C #9C5730 #3F9C30 #30759C
square
#8D309C #9C5730 #3F9C30 #30759C
split-complementary
#8D309C #759C30 #309C57
monochromatic
#38133E #63226D #8D309C #B344C5 #C673D4

Accessibility & contrast

On white

6.92
#8D309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D309C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D309C#FFFFFF#000000##FFFFFF
##8D309C1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#3E5D99
Tritanopia (blue-blind)
#8F4362
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d309c;
/* rgb */ color: rgb(141, 48, 156);
/* oklch */ color: oklch(49.0% 0.182 321.8);
Tailwind
colors: {
  custom: {
    50: '#b270ba',
    500: '#8d309c',
    950: '#000000',
  },
}
SCSS
$custom: #8d309c;
$custom-light: #b270ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d309c",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 291.667,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.18159,
    "h": 321.8
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#8D309C
secondary
#77BC6C
accent
#DC4B60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D309C

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

Preview Lab → · Contrast checker → · Palette generator →

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