#8D307E#8D307E

#8D307E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.3% C 0.156 H 334.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8D307E
RGBrgb(141, 48, 126)
HSLhsl(310, 49%, 37%)
HSVhsv(310, 66%, 55%)
CMYKcmyk(0%, 66%, 10.6%, 44.7%)
CIE-LABlab(36.53, 48.56, -24.43)
CIE-LCHlch(36.53, 54.36, 333.30°)
OKLaboklab(47.32% 0.1411 -0.0666)
OKLCHoklch(47.32% 0.156 334.7)
XYZxyz(15.8075, 9.2843, 20.6941)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D307E #308D3F
analogous
#6D308D #8D307E #8D3050
triadic
#8D307E #7E8D30 #307E8D
tetradic
#8D307E #8D6D30 #308D3F #30508D
square
#8D307E #8D6D30 #308D3F #30508D
split-complementary
#8D307E #508D30 #308D6D
monochromatic
#32112C #5F2055 #8D307E #BB40A7 #CD6BBD

Accessibility & contrast

On white

7.35
#8D307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D307E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D307E#FFFFFF#000000##FFFFFF
##8D307E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#943652
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d307e;
/* rgb */ color: rgb(141, 48, 126);
/* oklch */ color: oklch(47.3% 0.156 334.7);
Tailwind
colors: {
  custom: {
    50: '#b16fa3',
    500: '#8d307e',
    950: '#000000',
  },
}
SCSS
$custom: #8d307e;
$custom-light: #b16fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d307e",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 309.677,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4732,
    "c": 0.156,
    "h": 334.7
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#8D307E
secondary
#65B472
accent
#D9654F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D307E

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

Preview Lab → · Contrast checker → · Palette generator →

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