#8D3094#8D3094

#8D3094 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.174 H 324.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8D3094
RGBrgb(141, 48, 148)
HSLhsl(296, 51%, 38%)
HSVhsv(296, 68%, 58%)
CMYKcmyk(4.7%, 67.6%, 0%, 42%)
CIE-LABlab(37.69, 52.40, -36.12)
CIE-LCHlch(37.69, 63.65, 325.42°)
OKLaboklab(48.54% 0.1427 -0.1003)
OKLCHoklch(48.54% 0.174 324.9)
XYZxyz(17.3863, 9.9158, 29.0094)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3094 #379430
analogous
#5B3094 #8D3094 #943069
triadic
#8D3094 #948D30 #30948D
tetradic
#8D3094 #945B30 #379430 #306994
square
#8D3094 #945B30 #379430 #306994
split-complementary
#8D3094 #699430 #30945B
monochromatic
#351238 #612166 #8D3094 #B840C1 #C96ED0

Accessibility & contrast

On white

7.04
#8D3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3094
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3094#FFFFFF#000000##FFFFFF
##8D30941.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5197
Deuteranopia (green-blind)
#435D91
Tritanopia (blue-blind)
#903F5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3094;
/* rgb */ color: rgb(141, 48, 148);
/* oklch */ color: oklch(48.5% 0.174 324.9);
Tailwind
colors: {
  custom: {
    50: '#b170b4',
    500: '#8d3094',
    950: '#000000',
  },
}
SCSS
$custom: #8d3094;
$custom-light: #b170b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3094",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 295.8,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48542,
    "c": 0.17447,
    "h": 324.9
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#8D3094
secondary
#6EB868
accent
#DA4D57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3094

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

Preview Lab → · Contrast checker → · Palette generator →

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