#8D308E#8D308E

#8D308E is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.169 H 327.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8D308E
RGBrgb(141, 48, 142)
HSLhsl(299, 49%, 37%)
HSVhsv(299, 66%, 56%)
CMYKcmyk(0.7%, 66.2%, 0%, 44.3%)
CIE-LABlab(37.35, 51.31, -32.99)
CIE-LCHlch(37.35, 61.01, 327.26°)
OKLaboklab(48.19% 0.1426 -0.0912)
OKLCHoklch(48.19% 0.169 327.4)
XYZxyz(16.9237, 9.7307, 26.5728)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D308E #318E30
analogous
#5E308E #8D308E #8E3060
triadic
#8D308E #8E8D30 #308E8D
tetradic
#8D308E #8E5E30 #318E30 #30608E
square
#8D308E #8E5E30 #318E30 #30608E
split-complementary
#8D308E #608E30 #308E5E
monochromatic
#321133 #602160 #8D308E #BA3FBC #CC6BCD

Accessibility & contrast

On white

7.13
#8D308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D308E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D308E#FFFFFF#000000##FFFFFF
##8D308E1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d308e;
/* rgb */ color: rgb(141, 48, 142);
/* oklch */ color: oklch(48.2% 0.169 327.4);
Tailwind
colors: {
  custom: {
    50: '#b170af',
    500: '#8d308e',
    950: '#000000',
  },
}
SCSS
$custom: #8d308e;
$custom-light: #b170af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d308e",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 299.362,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48191,
    "c": 0.16925,
    "h": 327.4
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#8D308E
secondary
#66B465
accent
#D94F50
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D308E

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

Preview Lab → · Contrast checker → · Palette generator →

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