#8E309C#8E309C

#8E309C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.182 H 322.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8E309C
RGBrgb(142, 48, 156)
HSLhsl(292, 53%, 40%)
HSVhsv(292, 69%, 61%)
CMYKcmyk(9%, 69.2%, 0%, 38.8%)
CIE-LABlab(38.32, 54.14, -39.97)
CIE-LCHlch(38.32, 67.29, 323.56°)
OKLaboklab(49.17% 0.1439 -0.1115)
OKLCHoklch(49.17% 0.182 322.2)
XYZxyz(18.2124, 10.2660, 32.4683)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E309C #3E9C30
analogous
#58309C #8E309C #9C3074
triadic
#8E309C #9C8E30 #309C8E
tetradic
#8E309C #9C5830 #3E9C30 #30749C
square
#8E309C #9C5830 #3E9C30 #30749C
split-complementary
#8E309C #749C30 #309C58
monochromatic
#39133E #63226D #8E309C #B544C5 #C773D4

Accessibility & contrast

On white

6.88
#8E309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8E309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E309C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E309C#FFFFFF#000000##FFFFFF
##8E309C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D539F
Deuteranopia (green-blind)
#3F5E99
Tritanopia (blue-blind)
#904362
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e309c;
/* rgb */ color: rgb(142, 48, 156);
/* oklch */ color: oklch(49.2% 0.182 322.2);
Tailwind
colors: {
  custom: {
    50: '#b271ba',
    500: '#8e309c',
    950: '#000000',
  },
}
SCSS
$custom: #8e309c;
$custom-light: #b271ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e309c",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 292.222,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.18206,
    "h": 322.2
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#8E309C
secondary
#77BC6C
accent
#DC4B5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E309C

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

Preview Lab → · Contrast checker → · Palette generator →

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