#8E3097#8E3097

#8E3097 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.178 H 324.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8E3097
RGBrgb(142, 48, 151)
HSLhsl(295, 52%, 39%)
HSVhsv(295, 68%, 59%)
CMYKcmyk(6%, 68.2%, 0%, 40.8%)
CIE-LABlab(38.02, 53.20, -37.41)
CIE-LCHlch(38.02, 65.04, 324.88°)
OKLaboklab(48.87% 0.144 -0.104)
OKLCHoklch(48.87% 0.178 324.1)
XYZxyz(17.7977, 10.1001, 30.2842)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3097 #399730
analogous
#5B3097 #8E3097 #97306D
triadic
#8E3097 #978E30 #30978E
tetradic
#8E3097 #975B30 #399730 #306D97
square
#8E3097 #975B30 #399730 #306D97
split-complementary
#8E3097 #6D9730 #30975B
monochromatic
#37123A #622169 #8E3097 #B741C3 #C970D2

Accessibility & contrast

On white

6.95
#8E3097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E3097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3097
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3097#FFFFFF#000000##FFFFFF
##8E30971.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#914060
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e3097;
/* rgb */ color: rgb(142, 48, 151);
/* oklch */ color: oklch(48.9% 0.178 324.1);
Tailwind
colors: {
  custom: {
    50: '#b270b6',
    500: '#8e3097',
    950: '#000000',
  },
}
SCSS
$custom: #8e3097;
$custom-light: #b270b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3097",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 294.757,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48867,
    "c": 0.17762,
    "h": 324.1
  },
  "luminance": 0.10099
}

Semantic roles & 50–950 ramp

primary
#8E3097
secondary
#71B96A
accent
#DB4D59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E3097

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

Preview Lab → · Contrast checker → · Palette generator →

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