#8E3095#8E3095

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

Color values

HEX#8E3095
RGBrgb(142, 48, 149)
HSLhsl(296, 51%, 39%)
HSVhsv(296, 68%, 58%)
CMYKcmyk(4.7%, 67.8%, 0%, 41.6%)
CIE-LABlab(37.91, 52.83, -36.38)
CIE-LCHlch(37.91, 64.15, 325.45°)
OKLaboklab(48.75% 0.1439 -0.101)
OKLCHoklch(48.75% 0.176 324.9)
XYZxyz(17.6367, 10.0357, 29.4361)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3095 #379530
analogous
#5B3095 #8E3095 #953069
triadic
#8E3095 #958E30 #30958E
tetradic
#8E3095 #955B30 #379530 #306995
square
#8E3095 #955B30 #379530 #306995
split-complementary
#8E3095 #699530 #30955B
monochromatic
#361238 #622167 #8E3095 #B941C2 #CA6FD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E3095#FFFFFF#000000##FFFFFF
##8E30951.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)
#1B5298
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#91405E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e3095;
/* rgb */ color: rgb(142, 48, 149);
/* oklch */ color: oklch(48.7% 0.176 324.9);
Tailwind
colors: {
  custom: {
    50: '#b270b4',
    500: '#8e3095',
    950: '#000000',
  },
}
SCSS
$custom: #8e3095;
$custom-light: #b270b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3095",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 295.842,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48747,
    "c": 0.17587,
    "h": 324.9
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#8E3095
secondary
#6EB869
accent
#DB4D57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E3095

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

Preview Lab → · Contrast checker → · Palette generator →

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