#8E339E#8E339E

#8E339E is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.180 H 321.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8E339E
RGBrgb(142, 51, 158)
HSLhsl(291, 51%, 41%)
HSVhsv(291, 68%, 62%)
CMYKcmyk(10.1%, 67.7%, 0%, 38%)
CIE-LABlab(38.88, 53.28, -40.28)
CIE-LCHlch(38.88, 66.79, 322.91°)
OKLaboklab(49.62% 0.1405 -0.1124)
OKLCHoklch(49.62% 0.18 321.3)
XYZxyz(18.5100, 10.5880, 33.4098)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E339E #439E33
analogous
#58339E #8E339E #9E3378
triadic
#8E339E #9E8E33 #339E8E
tetradic
#8E339E #9E5833 #439E33 #33789E
square
#8E339E #9E5833 #439E33 #33789E
split-complementary
#8E339E #789E33 #339E58
monochromatic
#3B1541 #642470 #8E339E #B24AC4 #C678D3

Accessibility & contrast

On white

6.74
#8E339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8E339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E339E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E339E#FFFFFF#000000##FFFFFF
##8E339E1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A1
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#8F4564
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e339e;
/* rgb */ color: rgb(142, 51, 158);
/* oklch */ color: oklch(49.6% 0.180 321.3);
Tailwind
colors: {
  custom: {
    50: '#b272bb',
    500: '#8e339e',
    950: '#000000',
  },
}
SCSS
$custom: #8e339e;
$custom-light: #b272bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e339e",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 291.028,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49616,
    "c": 0.17996,
    "h": 321.3
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#8E339E
secondary
#7CBC71
accent
#DB4D62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E339E

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

Preview Lab → · Contrast checker → · Palette generator →

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