#8D308F#8D308F

#8D308F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.170 H 327.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8D308F
RGBrgb(141, 48, 143)
HSLhsl(299, 50%, 37%)
HSVhsv(299, 66%, 56%)
CMYKcmyk(1.4%, 66.4%, 0%, 43.9%)
CIE-LABlab(37.41, 51.49, -33.52)
CIE-LCHlch(37.41, 61.44, 326.94°)
OKLaboklab(48.25% 0.1426 -0.0928)
OKLCHoklch(48.25% 0.17 327)
XYZxyz(16.9991, 9.7609, 26.9700)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D308F #328F30
analogous
#5E308F #8D308F #8F3061
triadic
#8D308F #8F8D30 #308F8D
tetradic
#8D308F #8F5E30 #328F30 #30618F
square
#8D308F #8F5E30 #328F30 #30618F
split-complementary
#8D308F #618F30 #308F5E
monochromatic
#331133 #602161 #8D308F #BA3FBD #CC6CCE

Accessibility & contrast

On white

7.11
#8D308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D308F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D308F#FFFFFF#000000##FFFFFF
##8D308F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#913D5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d308f;
/* rgb */ color: rgb(141, 48, 143);
/* oklch */ color: oklch(48.2% 0.170 327.0);
Tailwind
colors: {
  custom: {
    50: '#b170b0',
    500: '#8d308f',
    950: '#000000',
  },
}
SCSS
$custom: #8d308f;
$custom-light: #b170b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d308f",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 298.737,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.17012,
    "h": 327
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#8D308F
secondary
#68B566
accent
#D94F51
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D308F

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

Preview Lab → · Contrast checker → · Palette generator →

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