#8D3098#8D3098

#8D3098 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.178 H 323.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D3098
RGBrgb(141, 48, 152)
HSLhsl(294, 52%, 39%)
HSVhsv(294, 68%, 60%)
CMYKcmyk(7.2%, 68.4%, 0%, 40.4%)
CIE-LABlab(37.92, 53.15, -38.18)
CIE-LCHlch(37.92, 65.44, 324.30°)
OKLaboklab(48.78% 0.1428 -0.1063)
OKLCHoklch(48.78% 0.178 323.3)
XYZxyz(17.7084, 10.0446, 30.7057)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3098 #3B9830
analogous
#593098 #8D3098 #98306F
triadic
#8D3098 #988D30 #30988D
tetradic
#8D3098 #985930 #3B9830 #306F98
square
#8D3098 #985930 #3B9830 #306F98
split-complementary
#8D3098 #6F9830 #309859
monochromatic
#37133B #622169 #8D3098 #B642C3 #C870D2

Accessibility & contrast

On white

6.98
#8D3098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D3098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3098
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3098#FFFFFF#000000##FFFFFF
##8D30981.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#8F4160
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3098;
/* rgb */ color: rgb(141, 48, 152);
/* oklch */ color: oklch(48.8% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#b170b7',
    500: '#8d3098',
    950: '#000000',
  },
}
SCSS
$custom: #8d3098;
$custom-light: #b170b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3098",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 293.654,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.17802,
    "h": 323.3
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#8D3098
secondary
#73BA6A
accent
#DB4C5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3098

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

Preview Lab → · Contrast checker → · Palette generator →

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