#8E309F#8E309F

#8E309F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.185 H 321.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8E309F
RGBrgb(142, 48, 159)
HSLhsl(291, 54%, 41%)
HSVhsv(291, 70%, 62%)
CMYKcmyk(10.7%, 69.8%, 0%, 37.6%)
CIE-LABlab(38.50, 54.71, -41.49)
CIE-LCHlch(38.50, 68.66, 322.82°)
OKLaboklab(49.36% 0.1438 -0.1159)
OKLCHoklch(49.36% 0.185 321.1)
XYZxyz(18.4696, 10.3689, 33.8227)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E309F #419F30
analogous
#56309F #8E309F #9F3078
triadic
#8E309F #9F8E30 #309F8E
tetradic
#8E309F #9F5630 #419F30 #30789F
square
#8E309F #9F5630 #419F30 #30789F
split-complementary
#8E309F #789F30 #309F56
monochromatic
#3A1441 #642270 #8E309F #B345C7 #C674D5

Accessibility & contrast

On white

6.83
#8E309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8E309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E309F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E309F#FFFFFF#000000##FFFFFF
##8E309F1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#3C5E9C
Tritanopia (blue-blind)
#8F4464
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e309f;
/* rgb */ color: rgb(142, 48, 159);
/* oklch */ color: oklch(49.4% 0.185 321.1);
Tailwind
colors: {
  custom: {
    50: '#b271bc',
    500: '#8e309f',
    950: '#000000',
  },
}
SCSS
$custom: #8e309f;
$custom-light: #b271bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e309f",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 290.811,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49361,
    "c": 0.18474,
    "h": 321.1
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#8E309F
secondary
#7ABD6E
accent
#DD4B61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E309F

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

Preview Lab → · Contrast checker → · Palette generator →

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