#8D3096#8D3096

#8D3096 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.176 H 324.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8D3096
RGBrgb(141, 48, 150)
HSLhsl(295, 52%, 39%)
HSVhsv(295, 68%, 59%)
CMYKcmyk(6%, 68%, 0%, 41.2%)
CIE-LABlab(37.81, 52.77, -37.16)
CIE-LCHlch(37.81, 64.54, 324.85°)
OKLaboklab(48.66% 0.1428 -0.1033)
OKLCHoklch(48.66% 0.176 324.1)
XYZxyz(17.5460, 9.9797, 29.8503)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3096 #399630
analogous
#5A3096 #8D3096 #96306C
triadic
#8D3096 #968D30 #30968D
tetradic
#8D3096 #965A30 #399630 #306C96
square
#8D3096 #965A30 #399630 #306C96
split-complementary
#8D3096 #6C9630 #30965A
monochromatic
#361239 #612168 #8D3096 #B741C2 #C86FD1

Accessibility & contrast

On white

7.01
#8D3096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8D3096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3096
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3096#FFFFFF#000000##FFFFFF
##8D30961.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185299
Deuteranopia (green-blind)
#425D93
Tritanopia (blue-blind)
#90405F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3096;
/* rgb */ color: rgb(141, 48, 150);
/* oklch */ color: oklch(48.7% 0.176 324.1);
Tailwind
colors: {
  custom: {
    50: '#b170b5',
    500: '#8d3096',
    950: '#000000',
  },
}
SCSS
$custom: #8d3096;
$custom-light: #b170b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3096",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 294.706,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.17625,
    "h": 324.1
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#8D3096
secondary
#70B969
accent
#DB4D59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3096

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

Preview Lab → · Contrast checker → · Palette generator →

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