#8E319F#8E319F

#8E319F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.183 H 321.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8E319F
RGBrgb(142, 49, 159)
HSLhsl(291, 53%, 41%)
HSVhsv(291, 69%, 62%)
CMYKcmyk(10.7%, 69.2%, 0%, 37.6%)
CIE-LABlab(38.64, 54.30, -41.26)
CIE-LCHlch(38.64, 68.20, 322.77°)
OKLaboklab(49.47% 0.1427 -0.1153)
OKLCHoklch(49.47% 0.183 321.1)
XYZxyz(18.5109, 10.4516, 33.8365)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E319F #429F31
analogous
#57319F #8E319F #9F3179
triadic
#8E319F #9F8E31 #319F8E
tetradic
#8E319F #9F5731 #429F31 #31799F
square
#8E319F #9F5731 #429F31 #31799F
split-complementary
#8E319F #799F31 #319F57
monochromatic
#3A1441 #642370 #8E319F #B347C6 #C676D5

Accessibility & contrast

On white

6.80
#8E319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8E319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E319F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E319F#FFFFFF#000000##FFFFFF
##8E319F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e319f;
/* rgb */ color: rgb(142, 49, 159);
/* oklch */ color: oklch(49.5% 0.183 321.1);
Tailwind
colors: {
  custom: {
    50: '#b271bc',
    500: '#8e319f',
    950: '#000000',
  },
}
SCSS
$custom: #8e319f;
$custom-light: #b271bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e319f",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 290.727,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.18347,
    "h": 321.1
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#8E319F
secondary
#7BBD6F
accent
#DC4C62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E319F

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

Preview Lab → · Contrast checker → · Palette generator →

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