#8D308D#8D308D

#8D308D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.168 H 327.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8D308D
RGBrgb(141, 48, 141)
HSLhsl(300, 49%, 37%)
HSVhsv(300, 66%, 55%)
CMYKcmyk(0%, 66%, 0%, 44.7%)
CIE-LABlab(37.30, 51.13, -32.47)
CIE-LCHlch(37.30, 60.57, 327.59°)
OKLaboklab(48.13% 0.1425 -0.0897)
OKLCHoklch(48.13% 0.168 327.8)
XYZxyz(16.8489, 9.7008, 26.1791)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D308D #308D30
analogous
#5F308D #8D308D #8D305F
triadic
#8D308D #8D8D30 #308D8D
tetradic
#8D308D #8D5F30 #308D30 #305F8D
square
#8D308D #8D5F30 #308D30 #305F8D
split-complementary
#8D308D #5F8D30 #308D5F
monochromatic
#321132 #5F205F #8D308D #BB40BB #CD6BCD

Accessibility & contrast

On white

7.14
#8D308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D308D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D308D#FFFFFF#000000##FFFFFF
##8D308D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#913D5A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d308d;
/* rgb */ color: rgb(141, 48, 141);
/* oklch */ color: oklch(48.1% 0.168 327.8);
Tailwind
colors: {
  custom: {
    50: '#b170af',
    500: '#8d308d',
    950: '#000000',
  },
}
SCSS
$custom: #8d308d;
$custom-light: #b170af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d308d",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48133,
    "c": 0.16839,
    "h": 327.8
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#8D308D
secondary
#65B465
accent
#D94F4F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D308D

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

Preview Lab → · Contrast checker → · Palette generator →

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