#8E309A#8E309A

#8E309A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.180 H 323.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8E309A
RGBrgb(142, 48, 154)
HSLhsl(293, 52%, 40%)
HSVhsv(293, 69%, 60%)
CMYKcmyk(7.8%, 68.8%, 0%, 39.6%)
CIE-LABlab(38.20, 53.76, -38.95)
CIE-LCHlch(38.20, 66.39, 324.08°)
OKLaboklab(49.05% 0.1439 -0.1085)
OKLCHoklch(49.05% 0.18 323)
XYZxyz(18.0445, 10.1988, 31.5837)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E309A #3C9A30
analogous
#59309A #8E309A #9A3071
triadic
#8E309A #9A8E30 #309A8E
tetradic
#8E309A #9A5930 #3C9A30 #30719A
square
#8E309A #9A5930 #3C9A30 #30719A
split-complementary
#8E309A #719A30 #309A59
monochromatic
#38133D #63216B #8E309A #B643C4 #C872D3

Accessibility & contrast

On white

6.91
#8E309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8E309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E309A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E309A#FFFFFF#000000##FFFFFF
##8E309A1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#405E97
Tritanopia (blue-blind)
#904261
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e309a;
/* rgb */ color: rgb(142, 48, 154);
/* oklch */ color: oklch(49.0% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#b270b8',
    500: '#8e309a',
    950: '#000000',
  },
}
SCSS
$custom: #8e309a;
$custom-light: #b270b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e309a",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 293.208,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.18027,
    "h": 323
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#8E309A
secondary
#74BB6B
accent
#DC4C5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E309A

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

Preview Lab → · Contrast checker → · Palette generator →

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