#8D309D#8D309D

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

Color values

HEX#8D309D
RGBrgb(141, 48, 157)
HSLhsl(291, 53%, 40%)
HSVhsv(291, 69%, 62%)
CMYKcmyk(10.2%, 69.4%, 0%, 38.4%)
CIE-LABlab(38.22, 54.10, -40.74)
CIE-LCHlch(38.22, 67.72, 323.02°)
OKLaboklab(49.09% 0.1427 -0.1138)
OKLCHoklch(49.09% 0.182 321.4)
XYZxyz(18.1266, 10.2119, 32.9081)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D309D #409D30
analogous
#57309D #8D309D #9D3076
triadic
#8D309D #9D8D30 #309D8D
tetradic
#8D309D #9D5730 #409D30 #30769D
square
#8D309D #9D5730 #409D30 #30769D
split-complementary
#8D309D #769D30 #309D57
monochromatic
#39133F #63226E #8D309D #B344C6 #C673D4

Accessibility & contrast

On white

6.90
#8D309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D309D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D309D#FFFFFF#000000##FFFFFF
##8D309D1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0953A0
Deuteranopia (green-blind)
#3D5D9A
Tritanopia (blue-blind)
#8E4363
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d309d;
/* rgb */ color: rgb(141, 48, 157);
/* oklch */ color: oklch(49.1% 0.182 321.4);
Tailwind
colors: {
  custom: {
    50: '#b270ba',
    500: '#8d309d',
    950: '#000000',
  },
}
SCSS
$custom: #8d309d;
$custom-light: #b270ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d309d",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 291.193,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.18249,
    "h": 321.4
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#8D309D
secondary
#78BC6D
accent
#DD4B61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D309D

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

Preview Lab → · Contrast checker → · Palette generator →

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