#8D307F#8D307F

#8D307F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.157 H 334.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8D307F
RGBrgb(141, 48, 127)
HSLhsl(309, 49%, 37%)
HSVhsv(309, 66%, 55%)
CMYKcmyk(0%, 66%, 9.9%, 44.7%)
CIE-LABlab(36.57, 48.73, -24.97)
CIE-LCHlch(36.57, 54.75, 332.86°)
OKLaboklab(47.37% 0.1412 -0.0681)
OKLCHoklch(47.37% 0.157 334.2)
XYZxyz(15.8723, 9.3102, 21.0356)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D307F #308D3E
analogous
#6D308D #8D307F #8D3051
triadic
#8D307F #7F8D30 #307F8D
tetradic
#8D307F #8D6D30 #308D3E #30518D
square
#8D307F #8D6D30 #308D3E #30518D
split-complementary
#8D307F #518D30 #308D6D
monochromatic
#32112D #5F2056 #8D307F #BB40A8 #CD6BBE

Accessibility & contrast

On white

7.34
#8D307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D307F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D307F#FFFFFF#000000##FFFFFF
##8D307F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#4D5B7D
Tritanopia (blue-blind)
#943753
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d307f;
/* rgb */ color: rgb(141, 48, 127);
/* oklch */ color: oklch(47.4% 0.157 334.2);
Tailwind
colors: {
  custom: {
    50: '#b16fa4',
    500: '#8d307f',
    950: '#000000',
  },
}
SCSS
$custom: #8d307f;
$custom-light: #b16fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d307f",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 309.032,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.1568,
    "h": 334.2
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#8D307F
secondary
#65B471
accent
#D9644F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D307F

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

Preview Lab → · Contrast checker → · Palette generator →

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